From 99514eec14ad60d39a2da5ec34566426ae2e97f0 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 9 Mar 1995 22:58:14 +0000 Subject: [PATCH] * 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/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3173f4030ef..f5ab8364b43 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. -- 2.30.2