]> xenbits.xensource.com Git - qemu-xen-4.1-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:51:51 +0000 (13:51 +0000)
commit3cf61880403b4e484539596a95937cc066243388
tree30bd60bfcce59e8aac46affa7cb47e7893609795
parent3981d218912e186cb4205ee6732f446c177a36a2
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