diff options
Diffstat (limited to 'bfd/vms-misc.c')
-rw-r--r-- | bfd/vms-misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/vms-misc.c b/bfd/vms-misc.c index 311192c8b91..c5893f30a98 100644 --- a/bfd/vms-misc.c +++ b/bfd/vms-misc.c @@ -459,6 +459,9 @@ _bfd_vms_next_record (abfd) return -1; } + if (!PRIV(vms_rec)) + return -1; + if (PRIV(is_vax)) { PRIV(rec_type) = *(PRIV(vms_rec)); |