aboutsummaryrefslogtreecommitdiff
path: root/qobject
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-04-04 20:32:38 -0300
committerKevin Wolf <kwolf@redhat.com>2018-04-10 16:33:08 +0200
commit07c13a71721d9f8c690b66752964e254af247475 (patch)
treebef5dfa093c6c296cf3a47d4efd650ab03d07290 /qobject
parentfebc8c865f17d98876200ef687100ab93f57bcab (diff)
hw/block/pflash_cfi: fix off-by-one error
ASAN reported: hw/block/pflash_cfi02.c:245:33: runtime error: index 82 out of bounds for type 'uint8_t [82]' Since the 'cfi_len' member is not used, remove it to keep the code safer. Cc: qemu-stable@nongnu.org Reported-by: AddressSanitizer Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions