diff options
author | Peter Maydell | 2016-08-05 12:03:59 +0200 |
---|---|---|
committer | Peter Maydell | 2016-08-08 14:58:42 +0200 |
commit | 47dc0ec576c3d8748985e34d273c8dc0465c5ddb (patch) | |
tree | 8f5d995ce46474c67d5626c2810959fa04705fa5 /README | |
parent | Merge remote-tracking branch 'remotes/armbru/tags/pull-error-2016-08-08' into... (diff) | |
download | qemu-47dc0ec576c3d8748985e34d273c8dc0465c5ddb.tar.gz qemu-47dc0ec576c3d8748985e34d273c8dc0465c5ddb.tar.xz qemu-47dc0ec576c3d8748985e34d273c8dc0465c5ddb.zip |
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
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions