mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
Fix #124907 by simply backporting the same fix as for the XML parser
* HTMLparser.c: Fix #124907 by simply backporting the same fix as for the XML parser * result/HTML/doc3.htm.err: change to ID detecting modified one test result. Daniel
This commit is contained in:
@@ -231,9 +231,13 @@ htmlnamePop(htmlParserCtxtPtr ctxt)
|
||||
|
||||
#define CUR_PTR ctxt->input->cur
|
||||
|
||||
#define SHRINK xmlParserInputShrink(ctxt->input)
|
||||
#define SHRINK if ((ctxt->input->cur - ctxt->input->base > 2 * INPUT_CHUNK) && \
|
||||
(ctxt->input->end - ctxt->input->cur < 2 * INPUT_CHUNK)) \
|
||||
xmlParserInputShrink(ctxt->input)
|
||||
|
||||
#define GROW xmlParserInputGrow(ctxt->input, INPUT_CHUNK)
|
||||
#define GROW if ((ctxt->progressive == 0) && \
|
||||
(ctxt->input->end - ctxt->input->cur < INPUT_CHUNK)) \
|
||||
xmlParserInputGrow(ctxt->input, INPUT_CHUNK)
|
||||
|
||||
#define CURRENT ((int) (*ctxt->input->cur))
|
||||
|
||||
|
Reference in New Issue
Block a user