aboutsummaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-10 00:17:53 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-10 00:17:53 -0400
commit7609b76c57386b747cdc7dcb4ca440a472a38fbf (patch)
tree113b76ac5a3e0b4530cbab17f6cb95b0b01e18fc /elf.h
parentscanelf: respect QA_EXECSTACK for .note.GNU-stack sections (diff)
downloadpax-utils-7609b76c57386b747cdc7dcb4ca440a472a38fbf.tar.gz
pax-utils-7609b76c57386b747cdc7dcb4ca440a472a38fbf.tar.bz2
pax-utils-7609b76c57386b747cdc7dcb4ca440a472a38fbf.zip
scanelf: fix off-by-one shdr validity check
If a section header is at the end of the file, we end up incorrectly rejecting it due to a slightly restrictive validity check. Also drop some redundant shdr checks -- these came from the helper scanelf_file_get_symtabs, and that already makes sure to only return valid section headers. Reported-by: Dominik Mierzejewski <rpm@greysector.net>
Diffstat (limited to 'elf.h')
0 files changed, 0 insertions, 0 deletions