mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +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:
committed by
Daniel Veillard
parent
9ccea57d61
commit
1e60fbcb6f
@ -3478,6 +3478,8 @@ htmlCheckEncoding(htmlParserCtxtPtr ctxt, const xmlChar *attvalue) {
|
|||||||
}
|
}
|
||||||
ctxt->input->base =
|
ctxt->input->base =
|
||||||
ctxt->input->cur = ctxt->input->buf->buffer->content;
|
ctxt->input->cur = ctxt->input->buf->buffer->content;
|
||||||
|
ctxt->input->end =
|
||||||
|
&ctxt->input->base[ctxt->input->buf->buffer->use];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user