Add check to avoid corrupt input files whose section sizes are greater than
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 24984942b70597cd24554a120ab8fa42145d0303..b25d429e884228a081cfec95ec2dc573e7d33d05 100644 (file)
@@ -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
This page took 0.025168 seconds and 4 git commands to generate.