diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-09 13:52:50 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-09 13:52:50 +0000 |
commit | e956e27a94f466949439d93a695bd66abfb7dbef (patch) | |
tree | 12ba7da9beb06660c2547c4356e58548c0547a01 /vms | |
parent | 1a4e82511178752ebf6545d1b9461d1a9f55816a (diff) | |
download | perl-e956e27a94f466949439d93a695bd66abfb7dbef.tar.gz |
Seems that a glob(undef) triggers an ACCVIO in Perl_flex_stat
Seems that a glob(undef) triggers an ACCVIO in Perl_flex_stat,
when a NULL is passed for the filename string pointer.
From Charles Lane.
p4raw-id: //depot/perl@12381
Diffstat (limited to 'vms')
-rw-r--r-- | vms/vms.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6378,6 +6378,7 @@ Perl_flex_stat(pTHX_ const char *fspec, Stat_t *statbufp) char temp_fspec[NAM$C_MAXRSS+300]; int retval = -1; + if (!fspec) return retval; strcpy(temp_fspec, fspec); if (statbufp == (Stat_t *) &PL_statcache) do_tovmsspec(temp_fspec,namecache,0); |