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:
H.J. Lu 2000-06-14 18:10:10 +00:00
parent 88830cd102
commit 63e391789e
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View file

@ -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));