]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Bugfixes for pe_print_debugdata()
authorJon Turney <jon.turney@dronecode.org.uk>
Wed, 15 Jan 2020 18:48:13 +0000 (18:48 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Thu, 30 Jan 2020 13:06:24 +0000 (13:06 +0000)
commit87b2920fc54826c2a0015ab3a19b7b873d208653
treeb2318a012a0603c2be95530d2a30ce2ca57877aa
parentbd434cc4d94ec3d2f9fc1e7c00c27b074f962bc1
Bugfixes for pe_print_debugdata()

Use a separate iteration variable for inner loop (:blush:).  This
generally prevented any debug directory entries after a
IMAGE_DEBUG_TYPE_CODEVIEW entry from being reported.

Don't leak the memory allocated for the section containing the debug
directory.

bfd/ChangeLog:

2020-01-16  Jon Turney  <jon.turney@dronecode.org.uk>

* peXXigen.c (pe_print_debugdata): Fix the iteration variable for
inner loop.  Fix a memory leak.
bfd/ChangeLog
bfd/peXXigen.c