Jason Wang 8b98a2f071 pcnet: fix rx buffer overflow(CVE-2015-7512)
Backends could provide a packet whose length is greater than buffer
size. Check for this and truncate the packet to avoid rx buffer
overflow in this case.

Cc: Prasad J Pandit <pjp@fedoraproject.org>
Cc: qemu-stable@nongnu.org
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2015-12-07 21:43:48 +08:00
..
2015-10-27 13:16:21 +00:00
2015-10-20 09:26:36 +02:00
2015-10-27 15:59:46 +00:00
2015-10-27 15:59:46 +00:00
2015-10-23 12:35:18 +11:00
2015-10-23 12:35:17 +11:00
2015-10-27 15:59:46 +00:00
2015-10-27 15:59:46 +00:00
2015-10-23 12:35:18 +11:00
2015-10-23 12:35:18 +11:00
2015-10-21 12:21:30 +02:00
2015-10-27 15:59:46 +00:00
2015-10-23 10:24:08 +01:00