diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-01-12 23:07:20 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2012-01-13 12:20:49 +0100 |
commit | 9e6704a9c88bca9a5eec456e14f7afa3a21f2181 (patch) | |
tree | 5a422b4915b5109172854b6416d119acd34e3433 /hints/uts.sh | |
parent | c6c5075ef3e86920cd3c1ec231855d7ef40fecd1 (diff) | |
download | perl-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