diff options
author | Mark Wielaard <mark@klomp.org> | 2022-08-28 19:51:13 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2022-09-14 20:47:45 +0200 |
commit | ee188125b10d1588a0536af033d7b7b1bbbaafaf (patch) | |
tree | 2f436cd55984f3390575bb1a384bfdf25c1f22c5 /libelf/ChangeLog | |
parent | 6e0240802160634b01f85ab8a511771cd86cceb8 (diff) | |
download | elfutils-ee188125b10d1588a0536af033d7b7b1bbbaafaf.tar.gz |
libelf: Correctly decode ar_mode as octal string
ar_mode is encoded as an octal ascii string, not decimal. Add a new
OCT_FIELD macro to decode it.
https://sourceware.org/bugzilla/show_bug.cgi?id=28729
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libelf/ChangeLog')
-rw-r--r-- | libelf/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog index 35f49516..558d795e 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,8 @@ +2022-08-28 Mark Wielaard <mark@klomp.org> + + * elf_begin.c (__libelf_next_arhdr_wrlock): Add OCT_FIELD macro, + like INT_FIELD but use strtol with octal base 8. Use for ar_mode. + 2022-08-08 Andreas Schwab <schwab@suse.de> * elf.h: Update from glibc. |