提交 63fdd411 authored 作者: Anthony Minessale's avatar Anthony Minessale

UTF-8 decoding bug caused restart of jabber connection on perfectly legal UTF-8…

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
上级 9789600c
...@@ -231,7 +231,7 @@ sax_core (iksparser *prs, char *buf, int len) ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论