1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/result/noent
David Kilzer 4f8606c13c Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer <https://bugzilla.gnome.org/show_bug.cgi?id=760183>
* parser.c:
(xmlCheckCdataPush): Add 'complete' argument to describe whether
the buffer passed in is the whole CDATA buffer, or if there is
more data to parse.  If there is more data to parse, don't
return a negative value for an invalid multi-byte UTF-8
character that is split between buffers.
(xmlParseTryOrFinish): Pass 'complete' argument to
xmlCheckCdataPush() as appropriate.

* result/cdata-2-byte-UTF-8.xml: Added.
* result/cdata-2-byte-UTF-8.xml.rde: Added.
* result/cdata-2-byte-UTF-8.xml.rdr: Added.
* result/cdata-2-byte-UTF-8.xml.sax: Added.
* result/cdata-2-byte-UTF-8.xml.sax2: Added.
* result/cdata-3-byte-UTF-8.xml: Added.
* result/cdata-3-byte-UTF-8.xml.rde: Added.
* result/cdata-3-byte-UTF-8.xml.rdr: Added.
* result/cdata-3-byte-UTF-8.xml.sax: Added.
* result/cdata-3-byte-UTF-8.xml.sax2: Added.
* result/cdata-4-byte-UTF-8.xml: Added.
* result/cdata-4-byte-UTF-8.xml.rde: Added.
* result/cdata-4-byte-UTF-8.xml.rdr: Added.
* result/cdata-4-byte-UTF-8.xml.sax: Added.
* result/cdata-4-byte-UTF-8.xml.sax2: Added.
* result/noent/cdata-2-byte-UTF-8.xml: Added.
* result/noent/cdata-3-byte-UTF-8.xml: Added.
* result/noent/cdata-4-byte-UTF-8.xml: Added.
* test/cdata-2-byte-UTF-8.xml: Added.
* test/cdata-3-byte-UTF-8.xml: Added.
* test/cdata-4-byte-UTF-8.xml: Added.
- Add tests and results.  Only 'make Readertests XMLPushtests'
  fails prior to the fix.
2016-04-08 10:18:52 +08:00
..
att1 Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
att2 Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
att3 Fixing #71342 serializing '\n' in attribute values added a specific test. 2002-02-13 13:07:41 +00:00
att4 Vyacheslav Pindyura managed to trigger a bug in parseStartTag, fixing it. 2002-12-16 22:04:11 +00:00
att5 adding namespace checkings while making sure they still parse as 2003-09-11 23:42:01 +00:00
att6 fixed a problem in push mode when attribute contains unescaped '>' 2004-02-18 14:28:22 +00:00
att7 xmlAttrSerializeTxtContent don't segfault if NULL is passed. adding an old 2004-02-20 08:18:58 +00:00
att8 fix bug reported by Holger Rauch added the test to th regression suite 2004-03-10 16:27:03 +00:00
att9 fix various attribute normalisation problems reported by Ashwin this 2008-03-25 16:52:41 +00:00
att10 587663 Incorrect Attribute-Value Normalization 2009-08-25 17:18:39 +02:00
att11 fix various attribute normalisation problems reported by Ashwin this 2008-03-25 16:52:41 +00:00
attrib.xml Someone found a bug hiding in a corner, caught it ! 2001-03-20 11:27:34 +00:00
badcomment.xml fixed the comment streaming bug raised by Graham Bennett added to the 2006-02-05 02:43:36 +00:00
bigentname.xml do not generate &quot; for " outside of attributes this changes the output 2003-06-13 10:05:56 +00:00
bigname2.xml Bunch of new parser cleanup work: 2000-08-27 21:12:29 +00:00
bigname.xml Bunch of new parser cleanup work: 2000-08-27 21:12:29 +00:00
cdata Fixed probles in some HTML tag autoclose, XML output bug on mixed-content 1999-10-11 15:09:51 +00:00
cdata2 added the same htmlRead APIs than their XML counterparts new parser 2003-09-26 12:47:50 +00:00
cdata-2-byte-UTF-8.xml Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer <https://bugzilla.gnome.org/show_bug.cgi?id=760183> 2016-04-08 10:18:52 +08:00
cdata-3-byte-UTF-8.xml Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer <https://bugzilla.gnome.org/show_bug.cgi?id=760183> 2016-04-08 10:18:52 +08:00
cdata-4-byte-UTF-8.xml Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer <https://bugzilla.gnome.org/show_bug.cgi?id=760183> 2016-04-08 10:18:52 +08:00
comment2.xml This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
comment3.xml boosting common commnent parsing code, it was really slow. added sprecific 2005-01-23 17:37:44 +00:00
comment4.xml boosting common commnent parsing code, it was really slow. added sprecific 2005-01-23 17:37:44 +00:00
comment5.xml boosting common commnent parsing code, it was really slow. added sprecific 2005-01-23 17:37:44 +00:00
comment6.xml fixed the push mode when a big comment occurs before an internal subset, 2007-06-12 14:44:32 +00:00
comment.xml This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
dav1 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav2 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav3 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav4 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav5 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav6 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav7 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav8 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav9 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav10 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav11 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav12 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav13 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav15 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav16 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav17 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav18 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dav19 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
defattr2.xml allow to inherit attributes from the DTD directly in the tree, this is 2001-08-07 01:10:10 +00:00
defattr.xml allow to inherit attributes from the DTD directly in the tree, this is 2001-08-07 01:10:10 +00:00
dia1 Release 1.6, lot of fixes, more validation, code cleanup, added namespace 1999-08-29 21:02:19 +00:00
dia2 Release 1.6, lot of fixes, more validation, code cleanup, added namespace 1999-08-29 21:02:19 +00:00
dtd1 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
dtd2 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dtd3 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dtd4 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
dtd5 Fixed probles in some HTML tag autoclose, XML output bug on mixed-content 1999-10-11 15:09:51 +00:00
dtd6 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
dtd7 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
dtd8 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
dtd9 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
dtd10 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
dtd11 Fixed probles in some HTML tag autoclose, XML output bug on mixed-content 1999-10-11 15:09:51 +00:00
dtd12 do not generate &quot; for " outside of attributes this changes the output 2003-06-13 10:05:56 +00:00
dtd13 Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
ebcdic_566012.xml 566012 part 2 fix regresion tests and push mode 2009-08-26 14:37:00 +02:00
emptycdata.xml fix handling of empty CDATA nodes as reported and discussed around #514181 2008-03-07 16:50:21 +00:00
ent1 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
ent2 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
ent3 Release 1.6, lot of fixes, more validation, code cleanup, added namespace 1999-08-29 21:02:19 +00:00
ent4 Release 1.6, lot of fixes, more validation, code cleanup, added namespace 1999-08-29 21:02:19 +00:00
ent5 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
ent6 Added and updated all the results for 1.5.0, Daniel 1999-08-10 19:10:03 +00:00
ent7 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
ent8 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
ent9 fixed a serious problem when substituing entities using the Reader, the 2004-06-08 12:03:41 +00:00
ent10 fixed the leak reported by Volker Roth on the list added a specific test 2004-10-25 16:23:56 +00:00
ent11 reverted first patches for #319279 which led to #326295 and fixed the 2006-01-09 14:38:44 +00:00
ent12 Adding extra test files, just in case ... Daniel 2006-10-10 20:12:24 +00:00
ent13 preparing the release of 2.7.2 fix the Solaris portability issue 2008-10-03 07:58:23 +00:00
ent_738805.xml Adding example from bugs 738805 to regression tests 2014-10-23 13:52:47 +08:00
eve.xml This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
intsubset2.xml found and fixed 2 problems in the internal subset scanning code affecting 2005-01-25 21:41:42 +00:00
intsubset.xml fixed bug #132575 about finding the end of the internal subset in push 2004-02-12 11:57:52 +00:00
isolat1 Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
isolat2 Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
isolat3 fixed #127877, never output &quot; in element content this changes the 2003-11-25 18:29:55 +00:00
japancrlf.xml Fix a parsing bug on non-ascii element and CR/LF usage 2013-05-22 22:56:45 +02:00
ns Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
ns2 Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
ns3 Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
ns4 Never commit without running "make tests" :-( fix a couple of stupidities 2002-03-25 12:10:14 +00:00
ns5 "" is a valid hexbinary string dixit xmlschema-dev update the test. added 2004-08-31 08:42:17 +00:00
ns6 fixed namespace bug in push mode reported by Rob Richards added it to the 2005-01-04 21:50:05 +00:00
ns7 fix bug #324432 with <xml:foo/> added to the regression tests Daniel 2006-01-04 14:03:10 +00:00
nsclean.xml applied patch from Malcolm Rowe to avoid namespace troubles on rollback 2005-06-09 08:18:24 +00:00
p3p Time to commit 3 days of work rewriting the parser internal, 2003-09-10 10:51:05 +00:00
pi2.xml This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
pi.xml This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
rdf1 Release 1.6, lot of fixes, more validation, code cleanup, added namespace 1999-08-29 21:02:19 +00:00
rdf2 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
slashdot16.xml fixed #127877, never output &quot; in element content this changes the 2003-11-25 18:29:55 +00:00
slashdot.rdf do not generate &quot; for " outside of attributes this changes the output 2003-06-13 10:05:56 +00:00
slashdot.xml do not generate &quot; for " outside of attributes this changes the output 2003-06-13 10:05:56 +00:00
svg1 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
svg2 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
svg3 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00
title.xml Changed the title external parsed entity in tests, Daniel 2000-08-20 15:32:58 +00:00
tstblanks.xml Bunch of new parser cleanup work: 2000-08-27 21:12:29 +00:00
utf8bom.xml - parser.c: fixed UTF8 BOM support in push mode 2001-06-28 12:13:56 +00:00
utf16bebom.xml Enhanced the handling of UTF-16, UTF-16LE and UTF-16BE encodings. Now 2003-11-28 09:39:10 +00:00
utf16bom.xml patch from Dodji Seketeli about UTF16 BOM when using the push XML parser. 2003-07-16 21:18:19 +00:00
utf16lebom.xml Enhanced the handling of UTF-16, UTF-16LE and UTF-16BE encodings. Now 2003-11-28 09:39:10 +00:00
wap.xml - parser.c test/wap.xml result/noent/wap.xml result/wap.xml: 2000-10-15 10:02:56 +00:00
winblanks.xml fixing bug #166777 (and #169838), it was an heuristic in areBlanks which 2005-07-06 15:17:38 +00:00
wml.xml fixed bug #59981 related to handling of '&' in attributes when entities 2001-09-11 09:27:09 +00:00
xhtml1 Removed the automatic generation of CDATA sections for the content of the 2006-07-13 13:07:11 +00:00
xhtmlcomp apply fix for XHTML1 formating from Nick Wellnhofer fixes bug #141266 2004-05-09 23:48:39 +00:00
xml1 - xpath.c: trying to get 52979 solved 2001-04-10 16:38:06 +00:00
xml2 This is the 2.0.0-beta, lots and lots and lots of changes 2000-03-14 18:30:20 +00:00