commit | dd64d4a9268b822b035f8c59c2b8f55a65f80819 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Mon Mar 03 15:07:31 2014 +0100 |
committer | Mark Wielaard <mjw@redhat.com> | Mon Mar 17 11:08:09 2014 +0100 |
tree | 47015d8c7f0c7e14febba7ac27047c28ee02cda6 | |
parent | 51fff30ac9d9eb245e7df8eb5c07658d04d6ad45 [diff] |
libdwfl: elf_from_remote_memory only trust shdrs of last file-only segment. If the last PT_LOAD segment that contains the whole shdrs also extends the segment in memory beyond the end of file the program might be reusing the memory space that we expect the shdrs to be in. Don't trust the shdrs are valid in that case. Signed-off-by: Mark Wielaard <mjw@redhat.com>