commit | 1e60fbcb6ff7a054de9dc6bc05aaf01172ad3a6f | [log] [tgz] |
---|---|---|
author | Eugene Pimenov <libc@me.com> | Wed Mar 10 18:10:49 2010 +0100 |
committer | Daniel Veillard <veillard@redhat.com> | Wed Mar 10 18:10:49 2010 +0100 |
tree | dd2d659c9ae67cc6923602c471bd14c07562cdf1 | |
parent | 9ccea57d61db766e7f117f62bd7f900590391cfa [diff] [blame] |
htmlCheckEncoding doesn't update input-end after shrink * HTMLparser.c: add the missing update to the end pointer
diff --git a/HTMLparser.c b/HTMLparser.c index 3d4831c..da3b173 100644 --- a/HTMLparser.c +++ b/HTMLparser.c
@@ -3478,6 +3478,8 @@ } ctxt->input->base = ctxt->input->cur = ctxt->input->buf->buffer->content; + ctxt->input->end = + &ctxt->input->base[ctxt->input->buf->buffer->use]; } } }