diff options
author | Michael Brown | 2023-11-29 13:49:06 +0100 |
---|---|---|
committer | Michael Brown | 2023-11-29 13:49:06 +0100 |
commit | 98dd25a3bb2d3aafa71f088cbabf89418a783132 (patch) | |
tree | 37f5e66f0e933c9d921e6aeb7a823a602033e4ad /src/util | |
parent | [efi] Extend PE header size to cover space up to first section (diff) | |
download | ipxe-98dd25a3bb2d3aafa71f088cbabf89418a783132.tar.gz ipxe-98dd25a3bb2d3aafa71f088cbabf89418a783132.tar.xz ipxe-98dd25a3bb2d3aafa71f088cbabf89418a783132.zip |
[efi] Avoid modifying PE/COFF debug filename
The function efi_pecoff_debug_name() (called by efi_handle_name()) is
used to extract a filename from the debug data directory entry located
within a PE/COFF image. The name is copied into a temporary static
buffer to allow for modifications, but the code currently erroneously
modifies the original name within the loaded PE/COFF image.
Fix by performing the modification on the copy in the temporary
buffer, as originally intended.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions