Index: bfd/peXXigen.c =================================================================== --- bfd/peXXigen.c.orig 2007-11-13 20:17:43.000000000 +0000 +++ bfd/peXXigen.c 2009-04-09 22:24:04.653228328 +0000 @@ -105,7 +105,10 @@ in->_n._n_n._n_offset = H_GET_32 (abfd, ext->e.e.e_offset); } else + { memcpy (in->_n._n_name, ext->e.e_name, SYMNMLEN); + in->_n._n_name[SYMNMLEN] = 0; + } in->n_value = H_GET_32 (abfd, ext->e_value); in->n_scnum = H_GET_16 (abfd, ext->e_scnum);