diff options
| author | Viktor Prutyanov <viktor@daynix.com> | 2023-10-01 02:53:17 +0300 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2023-10-19 14:32:12 +0100 |
| commit | 9d9c06b144da340b9a937ed01d45a936810715be (patch) | |
| tree | ef495b15f63fc8bd5d0540aff181cebafb7d1a9f /include/hw/arm/virt.h | |
| parent | 8b01683e857a80425ea67dc44505b4983fc11a8e (diff) | |
| download | focaccia-qemu-9d9c06b144da340b9a937ed01d45a936810715be.tar.gz focaccia-qemu-9d9c06b144da340b9a937ed01d45a936810715be.zip | |
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>
Diffstat (limited to 'include/hw/arm/virt.h')
0 files changed, 0 insertions, 0 deletions