diff options
author | Hugo van der Sanden <hv@crypt.org> | 2002-07-15 03:22:35 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-07-15 03:31:05 +0000 |
commit | 075aa684ec81e9e453dcae460c5e0d15bc196a37 (patch) | |
tree | f6483d45f54909c97482304b771ca933d1a5941d /regexec.c | |
parent | 135dda528f5206b5b382c504503de4de956e4ac0 (diff) | |
download | perl-075aa684ec81e9e453dcae460c5e0d15bc196a37.tar.gz |
Re: Regexp causes coredump
Message-Id: <200207150122.g6F1MZP31385@crypt.compulink.co.uk>
p4raw-id: //depot/perl@17541
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2805,7 +2805,7 @@ S_regmatch(pTHX_ regnode *prog) CALLRUNOPS(aTHX); /* Scalar context. */ SPAGAIN; if (SP == before) - ret = Nullsv; /* protect against empty (?{}) blocks. */ + ret = &PL_sv_undef; /* protect against empty (?{}) blocks. */ else { ret = POPs; PUTBACK; |