Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 05bd1720 | 2025-03-01 10:25:29 | parser: Fix parsing of DTD content Regressed in 2.11. Fixes #868. | ||
| e8fb3d63 | 2024-01-02 17:45:54 | parser: Convert some "internal errors" to meaningful codes | ||
| 74aa61e0 | 2023-01-22 13:09:03 | parser: Halt parser on DTD errors If we try to continue parsing after an error in the internal or external subset, entity expansion accounting gets more complicated. Simply halt the parser. Found with libFuzzer. | ||
| 76c6da42 | 2022-12-04 23:01:00 | error: Make sure that error messages are valid UTF-8 This has caused issues with the Python bindings for a long time. Should fix #64. | ||
| 68a6518c | 2022-11-15 18:23:33 | parser: Rewrite push parser boundary checks Remove inaccurate xmlParseCheckTransition check. Remove non-incremental xmlParseGetLasts check. Add functions that check for several boundary constructs more accurately, keeping track of progress in ctxt->checkIndex. Fixes #439. | ||
| 00906759 | 2016-01-26 16:57:03 | Heap-based buffer-underreads due to xmlParseName For https://bugzilla.gnome.org/show_bug.cgi?id=759573 * parser.c: (xmlParseElementDecl): Return early on invalid input to fix non-minimized test case (759573-2.xml). Otherwise the parser gets into a bad state in SKIP(3) at the end of the function. (xmlParseConditionalSections): Halt parsing when hitting invalid input that would otherwise caused xmlParserHandlePEReference() to recurse unexpectedly. This fixes the minimized test case (759573.xml). * result/errors/759573-2.xml: Add. * result/errors/759573-2.xml.err: Add. * result/errors/759573-2.xml.str: Add. * result/errors/759573.xml: Add. * result/errors/759573.xml.err: Add. * result/errors/759573.xml.str: Add. * test/errors/759573-2.xml: Add. * test/errors/759573.xml: Add. |