Avoid null pointer dereference in tovmsspec.
authorCraig A. Berry <craigberry@mac.com>
Thu, 9 Feb 2012 23:33:51 +0000 (17:33 -0600)
committerCraig A. Berry <craigberry@mac.com>
Thu, 9 Feb 2012 23:33:51 +0000 (17:33 -0600)
commite645f6f85b37f489934a5d203a215f35fd765ed6
tree20d9943529b9147a433426d8647204e744f225fe
parent8129baca5dd762540c807db6ddf8d2e9fa4121b2
Avoid null pointer dereference in tovmsspec.

Before 360732b5267d5, when dirend was either never set at all or
set to NULL, the routine always returned early before executing
the parts that look at dirend.  But after that change it became
possible to dereference a null dirend pointer.  Let's not do that.
vms/vms.c