Re: [Qemu-devel] [PATCH 2/4] Add error checking for load_image_targphys.

2016-10-16 Thread Stefan Hajnoczi
On Sun, Oct 16, 2016 at 12:48:24AM -, Shreya Shrivastava wrote: > Add checks for negative return value to uses of load_image_targphys. > Signed-off-by: Shreya Shrivastava > > --- > hw/arm/nseries.c | 9 +++-- > hw/lm32/milkymist.c | 19 +++ > hw/ppc/virtex_ml507.c

[Qemu-devel] [PATCH 2/4] Add error checking for load_image_targphys.

2016-10-15 Thread Shreya Shrivastava
Add checks for negative return value to uses of load_image_targphys. Signed-off-by: Shreya Shrivastava --- hw/arm/nseries.c | 9 +++-- hw/lm32/milkymist.c | 19 +++ hw/ppc/virtex_ml507.c | 5 + 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/hw/ar