[Freeswitch-svn] [commit] r5691 - freeswitch/trunk/libs/iksemel/src
Freeswitch SVN
anthm at freeswitch.org
Mon Sep 10 16:19:32 EDT 2007
Author: anthm
Date: Mon Sep 10 16:19:32 2007
New Revision: 5691
Modified:
freeswitch/trunk/libs/iksemel/src/sax.c
Log:
UTF-8 decoding bug caused restart of jabber connection on perfectly legal UTF-8 encoded status messages. Thanks to Neil Stratford for hunting down the fix for this bug.
Modified: freeswitch/trunk/libs/iksemel/src/sax.c
==============================================================================
--- freeswitch/trunk/libs/iksemel/src/sax.c (original)
+++ freeswitch/trunk/libs/iksemel/src/sax.c Mon Sep 10 16:19:32 2007
@@ -231,7 +231,7 @@
} else {
return IKS_BADXML;
}
- if ((c & mask) == 0) return IKS_BADXML;
+ /* if ((c & mask) == 0) return IKS_BADXML; I AM WRONG */
prs->uni_len = 1;
if (stack_old == -1
&& (prs->context == C_TAG
More information about the Freeswitch-svn
mailing list