aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-07-05 11:43:55 +0000
committerNick Clifton <nickc@redhat.com>2005-07-05 11:43:55 +0000
commit0680331375436d4dd60428de66591153a84550bd (patch)
tree1d86d30a12937911fdf75d41fb9406fcd7e1d15c /binutils/ChangeLog
parent9e492e0549e478e80696ee1e1c5f3ca82b36c666 (diff)
downloadfsf-binutils-gdb-0680331375436d4dd60428de66591153a84550bd.zip
fsf-binutils-gdb-0680331375436d4dd60428de66591153a84550bd.tar.gz
fsf-binutils-gdb-0680331375436d4dd60428de66591153a84550bd.tar.bz2
Add check to avoid corrupt input files whose section sizes are greater than
the size of the input file.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2498494..b25d429 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,12 @@
+2005-07-05 Dmitry V. Levin <ldv@altlinux.org>
+ Nick Clifton <nickc@redhat.com>
+
+ * strings.c (filename_and_size_t): New typedef.
+ (strings_a_section): Skip sections with size greater or equal to
+ the file size. Cache the file size to avoid repeated stat()s.
+ (strings_object_file): Pass filename_and_size_t argument to
+ strings_a_section() via bfd_map_over_sections().
+
2005-07-04 Alan Modra <amodra@bigpond.net.au>
PR 1004