1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-27 03:21:26 +03:00
libxml2/result/errors
Nick Wellnhofer ce0871e15c Only warn on invalid redeclarations of predefined entities
Downgrade the error message to a warning since the error was ignored,
anyway. Also print the name of redeclared entity. For a proper fix that
also shows filename and line number of the invalid redeclaration, we'd
have to

- pass the parser context to the entity functions somehow, or
- make these functions return distinct error codes.

Partial fix for #308.
2022-02-20 21:49:04 +01:00
..
754946.xml Fix a bug on name parsing at the end of current input buffer 2015-09-15 16:50:32 +08:00
754946.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
754946.xml.err Get rid of "blanks wrapper" for parameter entities 2017-06-20 13:19:47 +02:00
754946.xml.str 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
754947.xml.ent Fix handling of unexpected EOF in xmlParseContent 2021-05-08 20:47:36 +02:00
754947.xml.err Fix handling of unexpected EOF in xmlParseContent 2021-05-08 20:47:36 +02:00
754947.xml.str 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
758588.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
758588.xml.err 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
758588.xml.str 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
759020.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
759020.xml.err Heap use-after-free in xmlSAX2AttributeNs 2016-05-23 15:01:07 +08:00
759020.xml.str Heap use-after-free in xmlSAX2AttributeNs 2016-05-23 15:01:07 +08:00
759398.xml Bug 759398: Heap use-after-free in xmlDictComputeFastKey <https://bugzilla.gnome.org/show_bug.cgi?id=759398> 2016-05-23 15:01:07 +08:00
759398.xml.ent Fix line numbers in error messages for mismatched tags 2021-05-07 11:48:11 +02:00
759398.xml.err Fix line numbers in error messages for mismatched tags 2021-05-07 11:48:11 +02:00
759398.xml.str 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-2.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
759573-2.xml.err Disallow conditional sections in internal subset 2019-09-30 15:47:30 +02:00
759573-2.xml.str 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
759573.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
759573.xml.err Disallow conditional sections in internal subset 2019-09-30 15:47:30 +02:00
759573.xml.str 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
759579.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
759579.xml.err Detect infinite recursion in parameter entities 2017-07-25 15:21:12 +02:00
759579.xml.str 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
attr1.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
attr1.xml.err Avoid reparsing in xmlParseStartTag2 2017-06-01 14:31:28 +02:00
attr1.xml.str fix from Steve Ball and update of the comment. William pointed out that 2004-06-14 19:58:20 +00:00
attr2.xml Beuah ! Daniel 2004-02-21 11:55:44 +00:00
attr2.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
attr2.xml.err Avoid reparsing in xmlParseStartTag2 2017-06-01 14:31:28 +02:00
attr2.xml.str fix from Steve Ball and update of the comment. William pointed out that 2004-06-14 19:58:20 +00:00
attr3.xml fixed problem with free on dupl attribute in dtd (bug309637). added 2005-07-06 22:48:41 +00:00
attr3.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
attr3.xml.err fixed problem with free on dupl attribute in dtd (bug309637). added 2005-07-06 22:48:41 +00:00
attr3.xml.str 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
attr4.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
attr4.xml.err fix bug #414846 where invalid characters in attributes would sometimes not 2007-06-12 13:43:00 +00:00
attr4.xml.str fix bug #414846 where invalid characters in attributes would sometimes not 2007-06-12 13:43:00 +00: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
cdata.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
cdata.xml.err fixed a bug failing to detect UTF-8 violations in CData in push mode. 2005-07-04 11:12:25 +00:00
cdata.xml.str Fix a bug in CData error handling in the push parser 2015-09-18 15:06:46 +08:00
charref1.xml fixed a bug where invalid charrefs may not be detected sometimes as 2004-06-03 11:22:31 +00:00
charref1.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
charref1.xml.err Fix unsigned integer overflow 2019-05-20 13:38:22 +02:00
charref1.xml.str Fix unsigned integer overflow 2019-05-20 13:38:22 +02:00
comment1.xml fixed a parser bug where invalid char in comment may not be detected, 2007-08-01 07:49:06 +00:00
comment1.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
comment1.xml.err fixed a parser bug where invalid char in comment may not be detected, 2007-08-01 07:49:06 +00:00
comment1.xml.str 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
content1.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
content1.xml.err Heap-based buffer overread in xmlNextChar 2016-02-09 12:55:29 +01:00
content1.xml.str Improve error reporting on parser errors 2012-07-30 20:09:25 +08:00
ent_redecl.xml Only warn on invalid redeclarations of predefined entities 2022-02-20 21:49:04 +01:00
ent_redecl.xml.ent Only warn on invalid redeclarations of predefined entities 2022-02-20 21:49:04 +01:00
ent_redecl.xml.err Only warn on invalid redeclarations of predefined entities 2022-02-20 21:49:04 +01:00
ent_redecl.xml.str 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
extparsedent.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
extparsedent.xml.err Do not fetch external parsed entities 2012-07-23 14:15:40 +08:00
extparsedent.xml.str Do not fetch external parsed entities 2012-07-23 14:15:40 +08:00
issue151.xml Fix double counting of CRLF in comments 2022-02-07 20:54:07 +01:00
issue151.xml.ent Fix double counting of CRLF in comments 2022-02-07 20:54:07 +01:00
issue151.xml.err Fix double counting of CRLF in comments 2022-02-07 20:54:07 +01:00
issue151.xml.str 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
name2.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
name2.xml.err Spelling and grammar fixes 2017-06-17 16:34:23 +02:00
name2.xml.str Spelling and grammar fixes 2017-06-17 16:34:23 +02:00
name.xml Beuah ! Daniel 2004-02-21 11:55:44 +00:00
name.xml.ent Enable error tests with entity substitution 2020-02-11 17:36:43 +01:00
name.xml.err fix the patch for unreproductable #343000 but also fix a line/column 2006-10-15 20:32:53 +00:00
name.xml.str fix from Steve Ball and update of the comment. William pointed out that 2004-06-14 19:58:20 +00:00
rec_ext_ent.xml Add test case for recursive external parsed entities 2020-02-11 17:36:43 +01:00
rec_ext_ent.xml.ent Fix timeout when handling recursive entities 2020-12-18 14:13:46 +01:00
rec_ext_ent.xml.err Add test case for recursive external parsed entities 2020-02-11 17:36:43 +01:00
rec_ext_ent.xml.str Add test case for recursive external parsed entities 2020-02-11 17:36:43 +01:00