]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils into robustify
authorRoland McGrath <roland@redhat.com>
Thu, 23 Jul 2009 18:37:59 +0000 (11:37 -0700)
committerRoland McGrath <roland@redhat.com>
Thu, 23 Jul 2009 18:37:59 +0000 (11:37 -0700)
Conflicts:
libelf/elf32_getshdr.c

1  2 
libelf/ChangeLog
libelf/elf32_getshdr.c
libelf/elf32_updatefile.c
libelf/elf_getshdrstrndx.c
libelf/libelfP.h
src/ChangeLog
src/elflint.c
src/readelf.c
src/strip.c

Simple merge
index 5b206de9eb228b7f3a20161470ead97edea761a4,8d650d9f29bd12b3ad75dc65b68d56aa68a87371..ac1458d518751e230cbae31cd5cd6b69e25a468a
@@@ -1,5 -1,5 +1,5 @@@
  /* Return section header.
-    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005, 2007, 2008 Red Hat, Inc.
 -   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2005, 2007, 2009 Red Hat, Inc.
++   Copyright (C) 1998-2009 Red Hat, Inc.
     This file is part of Red Hat elfutils.
     Written by Ulrich Drepper <drepper@redhat.com>, 1998.
  
@@@ -81,8 -81,7 +81,8 @@@ load_shdr_wrlock (Elf_Scn *scn
      goto out;
  
    size_t shnum;
-   if (__elf_getshnum_rdlock (elf, &shnum) != 0
 -  if (__elf_getshdrnum_rdlock (elf, &shnum) != 0)
++  if (__elf_getshdrnum_rdlock (elf, &shnum) != 0
 +      || shnum > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Shdr)))
      goto out;
    size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));
  
Simple merge
Simple merge
Simple merge
diff --cc src/ChangeLog
Simple merge
diff --cc src/elflint.c
Simple merge
diff --cc src/readelf.c
Simple merge
diff --cc src/strip.c
Simple merge