aboutsummaryrefslogtreecommitdiff
path: root/qemu-seccomp.c
diff options
context:
space:
mode:
authorPrasad J Pandit <pjp@fedoraproject.org>2016-04-08 11:33:48 +0530
committerPeter Maydell <peter.maydell@linaro.org>2016-04-11 14:22:33 +0100
commit3a15cc0e1ee7168db0782133d2607a6bfa422d66 (patch)
treeb6710f8c71ea355b2c4f902f456f331cc6775ce9 /qemu-seccomp.c
parent5144fe36056d3a94b0d8da9e10adc555c057baa8 (diff)
net: stellaris_enet: check packet length against receive bufferpull-target-arm-20160411
When receiving packets over Stellaris ethernet controller, it uses receive buffer of size 2048 bytes. In case the controller accepts large(MTU) packets, it could lead to memory corruption. Add check to avoid it. Reported-by: Oleksandr Bazhaniuk <oleksandr.bazhaniuk@intel.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Message-id: 1460095428-22698-1-git-send-email-ppandit@redhat.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-seccomp.c')
0 files changed, 0 insertions, 0 deletions