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
..
2016-07-21 20:44:20 +03:00
2016-07-19 20:18:02 +02:00
2016-08-05 13:05:29 +01:00
2016-07-21 20:44:20 +03:00
2016-06-17 16:33:48 +10:00
2016-06-14 15:59:13 +01:00
2016-08-08 12:41:38 +01:00
2016-08-08 00:00:28 +04:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-06-29 14:03:48 +02:00
2016-07-29 00:33:49 +03:00
2016-07-29 00:07:09 +03:00
2016-01-29 15:07:25 +00:00
2016-06-24 05:13:57 +03:00
2016-07-12 12:34:41 +01:00
2016-08-08 00:00:36 +04:00
2016-07-29 11:57:01 +01:00
2015-12-22 18:39:19 +02:00