qemu-e2k/contrib/elf2dmp
Viktor Prutyanov 9d9c06b144 elf2dmp: check array bounds in pdb_get_file_size
Index in file_size array must be checked against num_files, because the
entries we are looking for may be absent in the PDB.

Fixes: Coverity CID 1521597
Signed-off-by: Viktor Prutyanov <viktor@daynix.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230930235317.11469-3-viktor@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-10-19 14:32:12 +01:00
..
addrspace.c elf2dmp: introduce physical block alignment 2023-09-21 16:07:15 +01:00
addrspace.h elf2dmp: introduce physical block alignment 2023-09-21 16:07:15 +01:00
download.c elf2dmp: Check curl_easy_setopt() return value 2021-09-20 09:54:32 +01:00
download.h
err.h
kdbg.h
main.c elf2dmp: limit print length for sign_rsds 2023-10-19 14:32:12 +01:00
meson.build meson: build contrib/ executables after generated headers 2022-01-12 14:09:06 +01:00
pdb.c elf2dmp: check array bounds in pdb_get_file_size 2023-10-19 14:32:12 +01:00
pdb.h elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining 2023-09-21 16:13:54 +01:00
pe.h contrib/elf2dmp: add PE name check and Windows Server 2022 support 2023-03-21 13:19:07 +00:00
qemu_elf.c elf2dmp: use Linux mmap with MAP_NORESERVE when possible 2023-09-21 16:13:54 +01:00
qemu_elf.h elf2dmp: use Linux mmap with MAP_NORESERVE when possible 2023-09-21 16:13:54 +01:00