2000-06-14 H.J. Lu <hjl@gnu.org>
* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec) is NULL.
This commit is contained in:
parent
88830cd102
commit
63e391789e
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-06-14 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
|
||||
is NULL.
|
||||
|
||||
2000-06-13 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue