qemu-patch-raspberry4/hw/sparc
Peter Maydell 47dc0ec576 hw/sparc/leon3: Don't call get_image_size() on a NULL pointer
get_image_size() doesn't handle being passed a NULL pointer, so
avoid doing that. Spotted by the clang ub sanitizer (which notices
the attempt to pass NULL to open()).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1470391439-28427-1-git-send-email-peter.maydell@linaro.org
2016-08-08 13:58:42 +01:00
..
leon3.c hw/sparc/leon3: Don't call get_image_size() on a NULL pointer 2016-08-08 13:58:42 +01:00
Makefile.objs hw: move other devices to hw/misc/, configure with default-configs/ 2013-04-08 18:13:16 +02:00
sun4m.c vl: Replace DT_NOGRAPHIC with machine option 2016-05-20 14:28:54 -03:00
trace-events trace: split out trace events for hw/sparc/ directory 2016-06-20 17:22:16 +01:00