diff options
author | Alan Modra <amodra@gmail.com> | 2020-04-15 18:58:11 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-04-15 19:02:26 +0930 |
commit | 7ecb51549ab1ec22aba5aaf34b70323cf0b8509a (patch) | |
tree | ddc00ffe8368a7f7762ac3ac3c91ae62d36dfd81 /bfd/ChangeLog | |
parent | 0ca4866abeb9ff668fe64064fc1bceb08ca63833 (diff) | |
download | gdb-7ecb51549ab1ec22aba5aaf34b70323cf0b8509a.zip gdb-7ecb51549ab1ec22aba5aaf34b70323cf0b8509a.tar.gz gdb-7ecb51549ab1ec22aba5aaf34b70323cf0b8509a.tar.bz2 |
PR25823, Use after free in bfd_hash_lookup
PR 25823
* peXXigen.c (_bfd_XXi_swap_sym_in <C_SECTION>): Don't use a
pointer into strings that may be freed for section name, always
allocate a new string.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c301501..e837fdc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2020-04-15 Alan Modra <amodra@gmail.com> + + PR 25823 + * peXXigen.c (_bfd_XXi_swap_sym_in <C_SECTION>): Don't use a + pointer into strings that may be freed for section name, always + allocate a new string. + 2020-04-14 Juan Manuel Guerrero <juan.guerrero@gmx.de> Jan W. Jagersma <jwjagersma@gmail.com> |