summaryrefslogtreecommitdiffstats
path: root/tests/run-strptr.sh
Commit message (Collapse)AuthorAgeFilesLines
* libelf: elf_strptr should fetch the shdr for the section if not yet known.Mark Wielaard2015-02-061-0/+98
elf_strptr might be called before the shdrs are read in. In that case it needs to explicitly call __elf[32|64]_getshdr_rdlock to check the section type and size. The new strptr testcase triggers this corner case and crashes before the fix. Signed-off-by: Mark Wielaard <[email protected]>