Package: libanyevent-xmpp-perl / 0.52-1
Metadata
Package | Version | Patches format |
---|---|---|
libanyevent-xmpp-perl | 0.52-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
1001_use_Digest SHA.patch | (download) |
lib/AnyEvent/XMPP.pm |
2 1 + 1 - 0 ! |
use digest::sha instead of digest::sha1. . Digest::SHA is part of the standard perl distribution since perl v5.9.3 so this reduces the number of external dependencies by one. |
1002_fix_auth_error.patch | (download) |
lib/AnyEvent/XMPP/Parser.pm |
7 5 + 2 - 0 ! |
fix parser error on auth failure When I create a connection that has a bad password, I encounter the following error (via warn) after receiving the sasl_error and disconnect events: . parser error: Can't call method "NamespaceEnd" on an undefined value at /usr/lib/perl5/vendor_perl/XML/Parser/Expat.pm line 614. on [<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not- authorized/><text>The response provided by the client doesn't match the one we calculated.</text></failure>] . What happens is that the AE::XMPP::Parser object gets rids of its expat parser member in disconnect in response to the failure tag, but Expat wants to keep parsing the string. I have attached a test file and a patch to fix the bug. |
1