summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-20 19:42:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-20 19:42:01 +0000
commit6aa016ca806d78082f3fdac943515dc35707c664 (patch)
tree8050c9815b51d39306f5bded27c03a59f185a153 /pp_sys.c
parent15bb2692a112e58a65a3e260753db74fb4044704 (diff)
downloadperl-6aa016ca806d78082f3fdac943515dc35707c664.tar.gz
pp_open() could pass an uninitialized filename down to do_open9().
p4raw-id: //depot/perl@6720
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 8a77c09d35..a95c43c945 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -508,7 +508,7 @@ PP(pp_open)
djSP; dTARGET;
GV *gv;
SV *sv;
- SV *name;
+ SV *name = Nullsv;
I32 have_name = 0;
char *tmps;
STRLEN len;