]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commit
e1000: bounds packet size against buffer size xen-4.0.4 xen-4.0.4-rc1 xen-4.0.4-rc2 xen-4.0.4-rc3
authorIan Campbell <Ian.Campbell@citrix.com>
Thu, 2 Feb 2012 13:47:06 +0000 (13:47 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 2 Feb 2012 13:59:07 +0000 (13:59 +0000)
commit36984c285a765541b04f378bfa84d2c850c167d3
tree0515cc15bb5f095203d46295371c0bc947cb96c8
parent6d5b7ee3acfe8cc10681d2583a38398f7470ec2a
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>
(Backported from qemu upstream 65f82df0d7a71ce1b10cd4c5ab08888d176ac840
 by Ian Campbell.)

Signed-off-by: Ian Campbell <Ian.Campbell@citrix.com>
(cherry picked from commit ebe37b2a3f844bad02dcc30d081f39eda06118f8)
hw/e1000.c