1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal <https://bugzilla.gnome.org/show_bug.cgi?id=758588>

* parser.c:
(xmlParseEndTag2): Add bounds checks before dereferencing
ctxt->input->cur past the end of the buffer, or incrementing the
pointer past the end of the buffer.

* result/errors/758588.xml: Add test result.
* result/errors/758588.xml.err: Ditto.
* result/errors/758588.xml.str: Ditto.
* test/errors/758588.xml: Add regression test.
This commit is contained in:
David Kilzer
2016-02-12 09:58:29 -08:00
committed by Daniel Veillard
parent cbb271655c
commit db07dd613e
5 changed files with 26 additions and 2 deletions

1
test/errors/758588.xml Normal file

File diff suppressed because one or more lines are too long