Re: [Qemu-devel] [QEMU PATCH] m25p80.c: Return state to IDLE after COLLECTING

2013-01-26 Thread Edgar E. Iglesias
On Fri, Jan 25, 2013 at 05:58:38PM -0800, Peter Crosthwaite wrote: > Default to moving back to the IDLE state after the COLLECTING_DATA > state. For a well behaved guest this patch has no consequence, but > A bad guest could crash QEMU by using one of the erase commands > followed by a longer than

[Qemu-devel] [QEMU PATCH] m25p80.c: Return state to IDLE after COLLECTING

2013-01-25 Thread Peter Crosthwaite
Default to moving back to the IDLE state after the COLLECTING_DATA state. For a well behaved guest this patch has no consequence, but A bad guest could crash QEMU by using one of the erase commands followed by a longer than 5 byte argument (undefined behaviour). Signed-off-by: Peter Crosthwaite -