e1000: bounds packet size against buffer size
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 23 Jan 2012 13:30:43 +0000 (07:30 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 23 Jan 2012 13:30:43 +0000 (07:30 -0600)
commit65f82df0d7a71ce1b10cd4c5ab08888d176ac840
tree6ba62af47e5265cff76471451a5e8fc32d143334
parent520c0d8d2772ccc9f9275bd934e13ec9b15774e4
e1000: bounds packet size against buffer size

Otherwise we can write beyond the buffer and corrupt memory.  This is tracked
as CVE-2012-0029.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/e1000.c