rpms/binutils/FC-3 binutils-2.15.92.0.2-robustify4.patch, 1.1, 1.2 binutils-2.15.92.0.2-robustify6.patch, 1.1, 1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jun 29 12:50:17 UTC 2005


Author: jakub

Update of /cvs/dist/rpms/binutils/FC-3
In directory cvs.devel.redhat.com:/tmp/cvs-serv24696

Modified Files:
	binutils-2.15.92.0.2-robustify4.patch 
	binutils-2.15.92.0.2-robustify6.patch 
Log Message:
2.15.92.0.2-5.1

binutils-2.15.92.0.2-robustify4.patch:
 readelf.c |  362 ++++++++++++++++++++++++++++++++++++++++----------------------
 1 files changed, 238 insertions(+), 124 deletions(-)

Index: binutils-2.15.92.0.2-robustify4.patch
===================================================================
RCS file: /cvs/dist/rpms/binutils/FC-3/binutils-2.15.92.0.2-robustify4.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- binutils-2.15.92.0.2-robustify4.patch	29 Jun 2005 12:10:31 -0000	1.1
+++ binutils-2.15.92.0.2-robustify4.patch	29 Jun 2005 12:50:13 -0000	1.2
@@ -50,8 +50,8 @@
 	* readelf.c (process_section_groups): Check if the section member
 	index is valid.
 
---- bfd/readelf.c.jj	2005-06-29 06:39:50.000000000 -0400
-+++ bfd/readelf.c	2005-06-29 07:00:22.000000000 -0400
+--- binutils/readelf.c.jj	2005-06-29 06:39:50.000000000 -0400
++++ binutils/readelf.c	2005-06-29 07:00:22.000000000 -0400
 @@ -193,7 +193,7 @@ unsigned int num_dump_sects = 0;
  #define DISASS_DUMP	(1 << 1)
  #define DEBUG_DUMP	(1 << 2)

binutils-2.15.92.0.2-robustify6.patch:
 bfd/coffcode.h         |    2 +-
 bfd/elf.c              |   15 +++++++++++++--
 bfd/peXXigen.c         |   12 +++++++++++-
 binutils/readelf.c     |   31 ++++++++++++++++++++++++++++++-
 include/elf/external.h |    3 +++
 5 files changed, 58 insertions(+), 5 deletions(-)

Index: binutils-2.15.92.0.2-robustify6.patch
===================================================================
RCS file: /cvs/dist/rpms/binutils/FC-3/binutils-2.15.92.0.2-robustify6.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- binutils-2.15.92.0.2-robustify6.patch	29 Jun 2005 12:10:31 -0000	1.1
+++ binutils-2.15.92.0.2-robustify6.patch	29 Jun 2005 12:50:13 -0000	1.2
@@ -64,21 +64,6 @@
  	/* Check for a bogus link to avoid crashing.  */
  	if ((hdr->sh_link >= SHN_LORESERVE && hdr->sh_link <= SHN_HIRESERVE)
  	    || hdr->sh_link >= num_sec)
-@@ -2004,10 +2011,10 @@ bfd_section_from_shdr (bfd *abfd, unsign
- 	  return _bfd_elf_make_section_from_shdr (abfd, hdr, name,
- 						  shindex);
- 
--        /* Prevent endless recursion on broken objects.  */
--        if (elf_elfsections (abfd)[hdr->sh_info]->sh_type == SHT_REL
--            || elf_elfsections (abfd)[hdr->sh_info]->sh_type == SHT_RELA)
--          return FALSE;
-+	/* Prevent endless recursion on broken objects.  */
-+	if (elf_elfsections (abfd)[hdr->sh_info]->sh_type == SHT_REL
-+	    || elf_elfsections (abfd)[hdr->sh_info]->sh_type == SHT_RELA)
-+	  return FALSE;
- 	if (! bfd_section_from_shdr (abfd, hdr->sh_info))
- 	  return FALSE;
- 	target_sect = bfd_section_from_elf_index (abfd, hdr->sh_info);
 @@ -2047,6 +2054,8 @@ bfd_section_from_shdr (bfd *abfd, unsign
        break;
  




More information about the fedora-cvs-commits mailing list