Coverity complained about local variable key which was only partially
initiated. Only key.st_value was set. As this was also the only part
of key which was used in function symfind, the code could be optimized
by directly passing a pointer to orig_addr.
In bsd-user/elfload.c, fix
|
||
|---|---|---|
| .. | ||
| freebsd | ||
| i386 | ||
| netbsd | ||
| openbsd | ||
| sparc | ||
| sparc64 | ||
| x86_64 | ||
| bsd-mman.h | ||
| bsdload.c | ||
| elfload.c | ||
| errno_defs.h | ||
| main.c | ||
| mmap.c | ||
| qemu-types.h | ||
| qemu.h | ||
| signal.c | ||
| strace.c | ||
| syscall.c | ||
| syscall_defs.h | ||
| uaccess.c | ||