off by one in bfd/syms.c or bfd/elfcode.h?
Alan Modra
amodra@bigpond.net.au
Mon Mar 25 21:32:00 GMT 2002
On Mon, Mar 25, 2002 at 08:13:16PM -0800, Gregory Steuck wrote:
>
> This causes a segv on openbsd-sparc64. Changing
> _bfd_generic_read_minisymbols to allocate sizeof (asymbol *) more
> fixes the problem, but I am not sure if the fix is the correct one.
The real error is that _bfd_elf_get_symtab_upper_bound and
_bfd_elf_get_dynamic_symtab_upper_bound don't return the correct size.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list