summaryrefslogtreecommitdiff
path: root/hints/uts.sh
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-01-12 23:07:20 +0100
committerNicholas Clark <nick@ccl4.org>2012-01-13 12:20:49 +0100
commit9e6704a9c88bca9a5eec456e14f7afa3a21f2181 (patch)
tree5a422b4915b5109172854b6416d119acd34e3433 /hints/uts.sh
parentc6c5075ef3e86920cd3c1ec231855d7ef40fecd1 (diff)
downloadperl-9e6704a9c88bca9a5eec456e14f7afa3a21f2181.tar.gz
In Perl_sv_del_backref(), don't panic if svp is NULL during global destruction.
It's possible that the referencing SV is being freed partway through the freeing of reference target. If this happens, the backreferences array of the target has already been freed, and so svp will be NULL. If this is the case, do nothing and return. Previously, this condition was not recognised and the code would panic.
Diffstat (limited to 'hints/uts.sh')
0 files changed, 0 insertions, 0 deletions