Add check to avoid corrupt input files whose section sizes are greater than
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 3e25586861924ecf51ba2f4f8583d865f5721e7d..b25d429e884228a081cfec95ec2dc573e7d33d05 100644 (file)
@@ -1,3 +1,19 @@
+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
+       * objcopy.c (copy_object): Use bfd_make_section_with_flags.
+       (write_debugging_info): Likewise.
+       (setup_section): Use bfd_make_section_anyway_with_flags.
+
 2005-07-01  Steve Ellcey  <sje@cup.hp.com>
 
        * configure.in (AM_BINUTILS_WARNINGS): Add.
This page took 0.039588 seconds and 4 git commands to generate.