* ar.c (open_inarch): Check fwrite return. Use size_t.
commit3e39e5a0715994d97a947388e662da08c04617e3
authorAlan Modra <amodra@bigpond.net.au>
Fri, 12 Jan 2007 03:12:56 +0000 (12 03:12 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 12 Jan 2007 03:12:56 +0000 (12 03:12 +0000)
tree70156fb064861edd5fdd13179f95527000c16575
parent24bb9b72bd87d1226dead329efcc2967257e07a2
* ar.c (open_inarch): Check fwrite return.  Use size_t.
(extract_file): Likewise.  Remove test for "negative" file size.
* readelf.c (process_program_headers): Check fscanf return.
binutils/ChangeLog
binutils/ar.c
binutils/readelf.c