develooper Front page | perl.perl5.porters | Postings from November 2003

[PATCH] clear of empty locked hash SEGVs

Thread Next
From:
Alan Burlison
Date:
November 19, 2003 06:39
Subject:
[PATCH] clear of empty locked hash SEGVs
Message ID:
3FBB8087.20206@sun.com
$ perl -MHash::Util=lock_keys -e 'my %h; lock_keys(%h); %h=();'
Segmentation Fault(coredump)

Patch is against blead, but should apply OK against 5.8.2.  I've included a 
regression test as well.

-- 
Alan Burlison
--

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About