summaryrefslogtreecommitdiffstats
path: root/tests/run-readelf-zdebug.sh
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-11-20 14:11:02 +0100
committerMark Wielaard <[email protected]>2017-11-24 11:30:54 +0100
commit268a27211b152d876185ff95255e5025c43b9c13 (patch)
tree8614ad8676dfadc4dafe78b46a3877102800a1ac /tests/run-readelf-zdebug.sh
parent080e3f5b39eb722edd7ced68c072a82a6cc5bffb (diff)
libdwfl: Don't dereference possibly unaligned auxv entry pointer from core.
The notes in a core file that contain the auxv entries might not be naturally aligned. The code already tried to account for that, but the GCC 8 undefined behaviour sanitizer found we were till dereferencing the actual auxv entry pointer directly. Fix this by calculating all pointers by hand and not use an array of auxv entries trick. This makes make distcheck (which enables sanitize-undefined by default) pass again using GCC8. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/run-readelf-zdebug.sh')
0 files changed, 0 insertions, 0 deletions