diff options
author | Nick Clifton <nickc@redhat.com> | 2023-04-11 16:14:23 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-04-11 16:14:23 +0100 |
commit | 9f1c612b7c1bb2d3035ca9416e5f09d844620e89 (patch) | |
tree | 1d680845a22fa5224d0ef533792a9f550505f1e3 /binutils/ChangeLog | |
parent | 688fe114cd80e410dbed08064eaaedf5584d31cf (diff) | |
download | binutils-9f1c612b7c1bb2d3035ca9416e5f09d844620e89.zip binutils-9f1c612b7c1bb2d3035ca9416e5f09d844620e89.tar.gz binutils-9f1c612b7c1bb2d3035ca9416e5f09d844620e89.tar.bz2 |
Fix an attempt to allocate an excessive amount of memory when parsing a corrupt DWARF file.
PR 30313
* dwarf.c (display_debug_lines_decoded): Check for an overlarge number of files or directories.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 285b90c..59ab08a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,9 @@ 2023-04-11 Nick Clifton <nickc@redhat.com> + PR 30313 + * dwarf.c (display_debug_lines_decoded): Check for an overlarge + number of files or directories. + PR 30312 * dwarf.c (prealloc_cu_tu_list): Always allocate at least one entry. |