projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4e825
)
Seems that a glob(undef) triggers an ACCVIO in Perl_flex_stat
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 9 Oct 2001 13:52:50 +0000
(13:52 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 9 Oct 2001 13:52:50 +0000
(13:52 +0000)
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
vms/vms.c
patch
|
blob
|
history
diff --git
a/vms/vms.c
b/vms/vms.c
index c076809778052ea8e65a79e1e7e9920e18334cc4..fd02f851bd6837873f5d43c3874d2e87ebe429f8 100644
(file)
--- a/
vms/vms.c
+++ b/
vms/vms.c
@@
-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);