From 97b75c421f74e4708f9a351641b99be3d4848913 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 14 Mar 2023 13:15:12 +0000 Subject: Prevent an over large memory allocation in readelf when parsing a corrupt DWARF file. PR 30227 * dwarf.c (process_cu_tu_index): Prevent excessive memory allocation when nused is large and ncols is zero. --- binutils/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 94099d7..10718ab 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2023-03-14 Nick Clifton + + PR 30227 + * dwarf.c (process_cu_tu_index): Prevent excessive memory + allocation when nused is large and ncols is zero. + 2023-02-09 Tom Tromey * dwarf-mode.el: Bump version to 1.8. -- cgit v1.1