1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/test/errors
Nick Wellnhofer 43b511fa71 parser: Make CRLF increment line number
Partial revert of cb927e85 fixing CRLFs not incrementing the line
number.

This requires to rework xmlParseQNameHashed. The original implementation
prompted the change to xmlCurrentChar which really shouldn't modify the
'cur' pointer as side effect. But the NEXTL macro relies on this
behavior.

Ultimately, we should reintroduce the change to xmlCurrentChar and fix
the NEXTL macro. This will lead to single CRs incrementing the line
number as well which seems more consistent.

Fixes #628.
2023-11-26 15:18:09 +01:00
..
754946.xml Rework entity boundary checks 2017-06-17 13:25:53 +02:00
754947.xml Fix a bug in CData error handling in the push parser 2015-09-18 15:06:46 +08:00
758588.xml Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal <https://bugzilla.gnome.org/show_bug.cgi?id=758588> 2016-05-23 15:01:07 +08:00
759020.xml Heap use-after-free in xmlSAX2AttributeNs 2016-05-23 15:01:07 +08:00
759398.xml Check for invalid redeclarations of predefined entities 2021-02-08 21:51:26 +01:00
759573-2.xml Heap-based buffer-underreads due to xmlParseName 2016-05-23 15:01:07 +08:00
759573.xml Heap-based buffer-underreads due to xmlParseName 2016-05-23 15:01:07 +08:00
759579.xml Detect infinite recursion in parameter entities 2017-07-25 15:21:12 +02:00
attr1.xml Beuah ! Daniel 2004-02-21 11:55:44 +00:00
attr2.xml Beuah ! Daniel 2004-02-21 11:55:44 +00:00
attr3.xml fixed problem with free on dupl attribute in dtd (bug309637). added 2005-07-06 22:48:41 +00:00
attr4.xml fix bug #414846 where invalid characters in attributes would sometimes not 2007-06-12 13:43:00 +00:00
attr5.xml tests: Add more tests for redefined attributes 2023-09-29 12:43:08 +02:00
attr6.xml tests: Add more tests for redefined attributes 2023-09-29 12:43:08 +02:00
cdata.xml fixed a bug failing to detect UTF-8 violations in CData in push mode. 2005-07-04 11:12:25 +00:00
charref1.xml fixed a bug where invalid charrefs may not be detected sometimes as 2004-06-03 11:22:31 +00:00
comment1.xml fixed a parser bug where invalid char in comment may not be detected, 2007-08-01 07:49:06 +00:00
content1.xml fix a memeory leak in internal subset parsing with a fix from Ashwin add 2008-01-24 14:48:54 +00:00
dtd13 Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... Daniel 1999-08-10 19:04:08 +00:00
empty.xml parser: More fixes to push parser error handling 2023-08-29 20:06:43 +02:00
ent_redecl.xml Only warn on invalid redeclarations of predefined entities 2022-02-20 21:49:04 +01:00
extparsedent.xml Do not fetch external parsed entities 2012-07-23 14:15:40 +08:00
extra-content.xml parser: More fixes to push parser error handling 2023-08-29 20:06:43 +02:00
invalid-start-tag-1.xml parser: More fixes to push parser error handling 2023-08-29 20:06:43 +02:00
invalid-start-tag-2.xml parser: More fixes to push parser error handling 2023-08-29 20:06:43 +02:00
issue151.xml Fix double counting of CRLF in comments 2022-02-07 20:54:07 +01:00
name2.xml Beuah ! Daniel 2004-02-21 11:55:44 +00:00
name3.xml parser: Make CRLF increment line number 2023-11-26 15:18:09 +01:00
name.xml Beuah ! Daniel 2004-02-21 11:55:44 +00:00
quadratic-defattr.xml parser: Protect against quadratic default attribute expansion 2023-10-06 12:47:24 +02:00
rec_att_default.xml parser: Fix entity check in attributes 2023-01-17 13:59:24 +01:00
rec_ext_ent.xml Add test case for recursive external parsed entities 2020-02-11 17:36:43 +01:00
rec_ext.ent Add test case for recursive external parsed entities 2020-02-11 17:36:43 +01:00
trailing-null-1.xml parser: Fix detection of null bytes 2023-08-29 18:43:10 +02:00
trailing-null-2.xml parser: Fix detection of null bytes 2023-08-29 18:43:10 +02:00
truncated-utf16.xml parser: Check for truncated multi-byte sequences 2023-08-08 15:21:37 +02:00
unclosed-element.xml parser: More fixes to push parser error handling 2023-08-29 20:06:43 +02:00
utf8-1.xml error: Make sure that error messages are valid UTF-8 2022-12-04 23:34:19 +01:00
utf8-2.xml error: Make sure that error messages are valid UTF-8 2022-12-04 23:34:19 +01:00