diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-02-12 20:29:43 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-02-12 20:29:43 +0000 |
commit | 61626fd500e6d4ce66fd252d4006308416a874bb (patch) | |
tree | 1d191c979859a04a79d5465aee84f1b2dfcbce1d /perl.c | |
parent | 3e901dc0c5f53f3c2d9be0ef298df8eecfbaa8bd (diff) | |
download | perl-61626fd500e6d4ce66fd252d4006308416a874bb.tar.gz |
Integrate:
[ 29832]
Avoid a SEGV in DBI's test suite, discovered by Andreas.
Probably need to go through and audit to see if there are analagous
places that need tweaking.
p4raw-link: @29832 on //depot/maint-5.8/perl: 42a5fb548791baca026f93036e91df33f2efb5be
p4raw-id: //depot/perl@30240
p4raw-integrated: from //depot/maint-5.8/perl@29832 'merge in' perl.c
(@29809..)
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5116,7 +5116,7 @@ Perl_call_list(pTHX_ I32 oldscope, AV *paramList) { dVAR; SV *atsv; - const line_t oldline = CopLINE(PL_curcop); + const line_t oldline = PL_curcop ? CopLINE(PL_curcop) : 0; CV *cv; STRLEN len; int ret; |