8050b61562
Size of string constant symbol may be larger than its length
measured up to NUL terminator. In this case pmdinfogen included padding
bytes after NUL terminator in generated source, yielding incorrect code.
Always trim string data to NUL terminator while reading ELF.
It was already done for COFF because there's no symbol size.
Bugzilla ID: 720
Fixes:
|
||
---|---|---|
.. | ||
chkincs | ||
pkg-config | ||
binutils-avx512-check.sh | ||
call-sphinx-build.py | ||
check-symbols.sh | ||
coff.py | ||
gen-pmdinfo-cfile.py | ||
list-dir-globs.py | ||
map_to_win.py | ||
map-list-symbol.sh | ||
meson.build | ||
options-ibverbs-static.sh | ||
pmdinfogen.py | ||
symlink-drivers-solibs.sh |