diff options
author | Philippe Mathieu-Daudé | 2017-07-27 04:42:19 +0200 |
---|---|---|
committer | Michael Tokarev | 2017-07-31 12:06:39 +0200 |
commit | b929f7e56f505d18bea32b08b57a8b84c6b28f30 (patch) | |
tree | 118c00d4263a29375d42bb35e36b7004ec660b9c /hw/sparc | |
parent | syscall: fix use of uninitialized values (diff) | |
download | qemu-b929f7e56f505d18bea32b08b57a8b84c6b28f30.tar.gz qemu-b929f7e56f505d18bea32b08b57a8b84c6b28f30.tar.xz qemu-b929f7e56f505d18bea32b08b57a8b84c6b28f30.zip |
syscall: check inotify() and eventfd() return value
linux-user/syscall.c:555:25: warning: Out of bound memory access (accessed memory precedes memory block)
target_fd_trans[fd] = trans;
~~~~~~~~~~~~~~~~~~~~^~~~~~~
Reported-by: Clang Static Analyzer
Suggested-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/sparc')
0 files changed, 0 insertions, 0 deletions