Fix invocation of stat() on a NULL pointer.
authorNick Clifton <nickc@redhat.com>
Wed, 26 Apr 2017 14:42:03 +0000 (15:42 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Apr 2017 14:42:03 +0000 (15:42 +0100)
commit740a463062bd5d1641bdfb639295dafe89341b9b
treeedbe0f3ede697d9f3b253ad3b3e175a3b2949a5f
parent3e6b644558f941d3fe482e15efbc53d8f39ef8b7
Fix invocation of stat() on a NULL pointer.

PR binutils/21407
* bucomm.c (get_file_size): Return -1 if file_name is NULL.
* ar.c (main): Fail with usage() invocation if no file names are
provided.
binutils/ChangeLog
binutils/ar.c
binutils/bucomm.c
This page took 0.028527 seconds and 4 git commands to generate.