Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 518858

Summary: spamassassin- 3.3.2 and Perl 5.18.0: Altering hash requires restarting loop else UNDEFINED behavior.
Product: Gentoo Linux Reporter: Homer Parker (RETIRED) <hparker>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6937
Whiteboard:
Package list:
Runtime testing required: ---

Description Homer Parker (RETIRED) gentoo-dev 2014-08-02 19:36:03 UTC
After upgrading to perl-5.18 my logs are filled with:

_WARN: Use of each() on hash after insertion without resetting hash iterator results 
in undefined behavior, Perl interpreter: 0x1cee010 at /usr/lib64/perl5/vendor_perl/5.18.2/Mail/SpamAssassin/AsyncLoop.pm line 363.

The URL in the description is the upstream bug for this. Initial testing of the patch looks good. Patch is at:

https://issues.apache.org/SpamAssassin/attachment.cgi?id=5143
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-09-10 20:43:07 UTC

*** This bug has been marked as a duplicate of bug 519186 ***