diff options
author | Aleksei Vetrov <vvvvvv@google.com> | 2023-02-14 20:30:02 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2023-02-17 00:18:53 +0100 |
commit | fda09f5f188fb173b2123815be71ca4647a8adfb (patch) | |
tree | fc66ad4c3abae0765528e7b7bbb622882d4e9182 /NEWS | |
parent | 73e212b0a778c6dbe84f79b7eb2647dea50ea16f (diff) | |
download | elfutils-fda09f5f188fb173b2123815be71ca4647a8adfb.tar.gz |
libdw: check that DWARF strings are null-terminated
It is expected from libdw to return strings that are null-terminated to
avoid overflowing ELF data.
* Add calculation of a safe prefix inside string sections, where any
string will be null-terminated.
* Check if offset overflows the safe prefix in dwarf_formstring.
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions