mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 14:48:22 +00:00
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.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5691 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9789600c42
commit
63fdd41110
@ -231,7 +231,7 @@ sax_core (iksparser *prs, char *buf, int len)
|
|||||||
} else {
|
} else {
|
||||||
return IKS_BADXML;
|
return IKS_BADXML;
|
||||||
}
|
}
|
||||||
if ((c & mask) == 0) return IKS_BADXML;
|
/* if ((c & mask) == 0) return IKS_BADXML; I AM WRONG */
|
||||||
prs->uni_len = 1;
|
prs->uni_len = 1;
|
||||||
if (stack_old == -1
|
if (stack_old == -1
|
||||||
&& (prs->context == C_TAG
|
&& (prs->context == C_TAG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user