]> Git Repo - qemu.git/commit
e1000: fix access 4 bytes beyond buffer end
authorMichael S. Tsirkin <[email protected]>
Mon, 12 Jul 2010 17:24:59 +0000 (20:24 +0300)
committerMichael S. Tsirkin <[email protected]>
Mon, 19 Jul 2010 10:49:19 +0000 (13:49 +0300)
commitb0b900070c7cb29bbefb732ec00397abe5de6d73
treecdf5929f0575af0eb10a701564f79c12004bef58
parentd67eb20f6a387a10475b945c9e91fe2a00cffd93
e1000: fix access 4 bytes beyond buffer end

We do range check for size, and get size as buffer,
but copy size + 4 bytes (4 is for FCS).
Let's copy size bytes but put size + 4 in length.

Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/e1000.c
This page took 0.025898 seconds and 4 git commands to generate.