]> git.proxmox.com Git - qemu.git/commit
hw/lan9118.c: Add missing 'break' to fix buffer overrun
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 9 Nov 2011 18:59:54 +0000 (18:59 +0000)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 10 Nov 2011 12:29:50 +0000 (12:29 +0000)
commit0e3b800e71cb7759d099eabbd8ad4c4fe848e381
tree73c7d14b6e698911e9bb21720cb0ad1157355ba2
parent04c5b17a74c9d6c309181079f8949665b43b0164
hw/lan9118.c: Add missing 'break' to fix buffer overrun

Add a missing 'break' statement to fix a buffer overrun when
executing the EEPROM write-all command. Spotted by Coverity
(see bug 887883).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/lan9118.c