diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-03-07 19:21:02 +0900 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-03-11 17:06:27 +0000 |
commit | 98d16e5f724cf4f884cab28956321a4a093474d7 (patch) | |
tree | ea8355fa7cca00a1345ed36fc2dd2682d340884a /util | |
parent | 9de37c288367ad22dd8abe069eeae17faf6e3ed9 (diff) |
contrib/elf2dmp: Ensure phdrs fit in file
Callers of elf64_getphdr() and elf_getphdrnum() assume phdrs are
accessible.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2202
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240307-elf2dmp-v4-19-4f324ad4d99d@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions