]> xenbits.xensource.com Git - qemu-xen-4.2-testing.git/commit
e1000: bounds packet size against buffer size
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:48:34 +0000 (13:48 +0000)
commitebe37b2a3f844bad02dcc30d081f39eda06118f8
tree25a49b92de51d7433b9f271c6887438c35ae04e6
parentde05447400930da4be216e4fb0fe52b8be81490e
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>
hw/e1000.c