1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-31 06:50:06 +03:00

htmlCheckEncoding doesn't update input-end after shrink

* HTMLparser.c: add the missing update to the end pointer
This commit is contained in:
Eugene Pimenov 2010-03-10 18:10:49 +01:00 committed by Daniel Veillard
parent 9ccea57d61
commit 1e60fbcb6f

View File

@ -3478,6 +3478,8 @@ htmlCheckEncoding(htmlParserCtxtPtr ctxt, const xmlChar *attvalue) {
}
ctxt->input->base =
ctxt->input->cur = ctxt->input->buf->buffer->content;
ctxt->input->end =
&ctxt->input->base[ctxt->input->buf->buffer->use];
}
}
}