~ubuntu-branches/debian/lenny/elfutils/lenny

« back to all changes in this revision

Viewing changes to libelf/elf_getarsym.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx, Christian Aichinger
  • Date: 2006-08-27 15:48:23 UTC
  • Revision ID: james.westby@ubuntu.com-20060827154823-gmbm698yux21k7fs
Tags: 0.123-2
[ Kurt Roeckx ]
* Add backend support for alpha: adding the registers.
* Add backend support for arm: adding regs and retval.
  Thanks to Eugeniy Meshcheryakov <eugeniy.meshcheryakov@googlemail.com>
* Add backend support for hppa, thanks to
  Eugeniy Meshcheryakov <eugeniy.meshcheryakov@googlemail.com>
* Add some missing ELFOSABI_* and EM_* to elf.h

[ Christian Aichinger ]
* Fix sparc backend retval
* Add mips backend.
* Rewrite the static backend so making changes to the backends
  is easier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
      size_t index_size = atol (tmpbuf);
180
180
 
181
181
      if (SARMAG + sizeof (struct ar_hdr) + index_size > elf->maximum_size
 
182
#if SIZE_MAX <= 4294967295U
 
183
          || n >= SIZE_MAX / sizeof (Elf_Arsym)
 
184
#endif
182
185
          || n * sizeof (uint32_t) > index_size)
183
186
        {
184
187
          /* This index table cannot be right since it does not fit into