From: Ian Lance Taylor Date: Thu, 9 Mar 1995 22:58:14 +0000 (+0000) Subject: * coffswap.h (coff_swap_scnhdr_out): If the line number count or X-Git-Tag: gdb-4_18~12200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99514eec14ad60d39a2da5ec34566426ae2e97f0;p=external%2Fbinutils.git * coffswap.h (coff_swap_scnhdr_out): If the line number count or the reloc count does not fit, print an error and return 0. * coffcode.h (coff_write_object_contents): Check return value of coff_swap_scnhdr_out. * ecoff.c (_bfd_ecoff_write_object_contents): Check return value of bfd_coff_swap_scnhdr_out. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3173f40..f5ab836 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ Thu Mar 9 15:06:25 1995 Ian Lance Taylor + * coffswap.h (coff_swap_scnhdr_out): If the line number count or + the reloc count does not fit, print an error and return 0. + * coffcode.h (coff_write_object_contents): Check return value of + coff_swap_scnhdr_out. + * ecoff.c (_bfd_ecoff_write_object_contents): Check return value + of bfd_coff_swap_scnhdr_out. + * bfd.c: Include or , depending upon ANSI_PROTOTYPES. (bfd_error_handler_type): New global type.