Fix potential segfault
authorAlan Modra <amodra@gmail.com>
Sat, 23 May 2020 07:21:30 +0000 (16:51 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 23 May 2020 07:26:38 +0000 (16:56 +0930)
commitc892b44730bb1a66d614fd47fabe47555ca83b3b
treec5f4c1c47c172b2d8c6f4e4481daeda0c2c0db98
parent3f3c36087ec4667e285b487e668da73614993828
Fix potential segfault

Code in vms-lib.c leaves arch_header NULL.

* bfdio.c (bfd_get_file_size): Don't segfault on NULL arch_header.
bfd/ChangeLog
bfd/bfdio.c