Re: [Qemu-devel] [PATCH] hw/lan9118.c: Add missing 'break' to fix buffer overrun

2011-11-10 Thread Stefan Hajnoczi
On Wed, Nov 09, 2011 at 06:59:54PM +, Peter Maydell wrote: > 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 > --- > hw/lan9118.c |1 + > 1 files changed, 1 ins

[Qemu-devel] [PATCH] hw/lan9118.c: Add missing 'break' to fix buffer overrun

2011-11-09 Thread Peter Maydell
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 --- hw/lan9118.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/lan9118.c b/hw/lan9118.c index 634b