diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2017-07-26 23:42:10 -0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2017-07-31 13:06:38 +0300 |
commit | f80ac75d0e6e6e7481d61cdb86e5a741a442f100 (patch) | |
tree | a79e06911ec0f56ee612eb495ff6b92fe4b21c23 /stubs | |
parent | b7b1e9dd6d56612d4656817b11e43d9fbefdc497 (diff) | |
download | qemu-f80ac75d0e6e6e7481d61cdb86e5a741a442f100.zip qemu-f80ac75d0e6e6e7481d61cdb86e5a741a442f100.tar.gz qemu-f80ac75d0e6e6e7481d61cdb86e5a741a442f100.tar.bz2 |
qcow2: fix null pointer dereference
It seems this assert() was somehow misplaced.
block/qcow2-refcount.c:2193:42: warning: Array access (from variable 'on_disk_reftable') results in a null pointer dereference
on_disk_reftable[refblock_index] = refblock_offset;
~~~~~~~~~~~~~~~~ ^
Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions