Searched hist:"9 d9c06b1" (Results 1 – 1 of 1) sorted by relevance
/qemu/contrib/elf2dmp/ |
H A D | pdb.c | 9d9c06b1 Sat Sep 30 23:53:17 GMT 2023 Viktor Prutyanov <viktor@daynix.com> 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> 9d9c06b1 Sat Sep 30 23:53:17 GMT 2023 Viktor Prutyanov <viktor@daynix.com> 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> 9d9c06b1 Sat Sep 30 23:53:17 GMT 2023 Viktor Prutyanov <viktor@daynix.com> 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> 9d9c06b1 Sat Sep 30 23:53:17 GMT 2023 Viktor Prutyanov <viktor@daynix.com> 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> 9d9c06b1 Sat Sep 30 23:53:17 GMT 2023 Viktor Prutyanov <viktor@daynix.com> 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>
|