mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +01:00
Fixed possible NPE when parsing invalid XHTML text. SMACK-3
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2401 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
b220cf0c5e
commit
d7668b3dcc
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public class XHTMLExtensionProvider implements PacketExtensionProvider {
|
|||
throws Exception {
|
||||
XHTMLExtension xhtmlExtension = new XHTMLExtension();
|
||||
boolean done = false;
|
||||
StringBuffer buffer = null;
|
||||
StringBuffer buffer = new StringBuffer();;
|
||||
while (!done) {
|
||||
int eventType = parser.next();
|
||||
if (eventType == XmlPullParser.START_TAG) {
|
||||
|
|
Loading…
Reference in a new issue