develooper Front page | perl.perl5.porters | Postings from April 2007

[PATCH] Bug in Hash::Util::FieldHash

Thread Previous | Thread Next
Anno Siegel
April 20, 2007 17:11
[PATCH] Bug in Hash::Util::FieldHash
Message ID:
The recent discussion of Hash::Util::FieldHash has alerted me to
a bug in the current version.  It is possible to bypass garbage
collection in a field hash through innocent-looking actions like

     %fieldhash_target = %fieldhash_orig;

The target field hash will not be garbage-collected.  That's a
serious oversight, fortunately easily corrected:

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About