Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the XML-Stream CPAN distribution.

Report information
The Basics
Id: 17325
Status: resolved
Priority: 0/
Queue: XML-Stream

People
Owner: dapatrick [...] cpan.org
Requestors: sparrow [...] itn.pl
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.22
Fixed in:
  • 1.23
  • 1.23_01



Subject: Infinity loop 100% CPU usage
Example of infinity loop: <presence xmlns='jabber:client' from='sparrow@itn.pl/PowerBook G4 15"' to='jogger@jogger.pl'><show>away</show><status>Away</status></presence> ---------------- File Parser.pm line 386: from: if((($id2 < $id1) && ($id1 == -1)) || ($id2 != -1)) { $ids = $id2; $id = "\""; } to: else { if((($id2 < $id1) && ($id1 == -1)) || ($id2 != -1)) { $ids = $id2; $id = "\""; } }
Hello guest,

Thank you for your patch.  I've integrated it into the source tree.  You may test it out by cloning my git repo at http://github.com/dap/XML-Stream.&nbsp; I will leave this ticket open for comments for seven days from now.  After that point I will consider it fixed.

Best,

Darian