1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00
XML parser and toolkit
Go to file
Nick Wellnhofer 0db8dc9ddc Stop parser on unsupported encodings
Otherwise, the push parser can loop infinitely in recover mode.

Found with libFuzzer.
2017-06-07 19:30:56 +02:00
bakefile Bug 571059 – MSVC doesn't work with the bakefile 2009-08-07 16:19:15 +02:00
doc Remove unused variables 2016-10-12 13:23:08 +02:00
example Remove all .cvsignore as they are not used anymore 2012-09-04 14:25:23 +08:00
include Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local" 2017-06-06 15:53:42 +02:00
macos EOL cleanups from Florent Guiliani Daniel 2008-02-15 07:43:00 +00:00
optim Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
os400 dict.h: Move xmlDictPtr definition before includes to allow direct inclusion. 2016-05-03 13:52:00 +08:00
python Fix expected error output in Python tests 2017-06-01 14:31:28 +02:00
result Fix buffer size checks in xmlSnprintfElementContent 2017-06-05 19:38:19 +02:00
test Fix buffer size checks in xmlSnprintfElementContent 2017-06-05 19:38:19 +02:00
vms Various portability patches for OpenVMS 2013-12-17 15:33:50 +08:00
VxWorks apply a couple of fixes based on a Coverity report forwarded by Derrick 2008-06-10 14:56:11 +00:00
win32 win32\VC10\config.h and VS 2015 2016-03-11 16:02:03 +08:00
xstc Remove all .cvsignore as they are not used anymore 2012-09-04 14:25:23 +08:00
.gitignore Extend gitignore 2013-03-30 22:33:05 +08:00
.travis.yml Make Travis print UBSan stacktraces 2017-06-01 17:53:38 +02:00
acinclude.m4 More updates and cleanups on autotools and Makefiles 2012-08-17 10:04:30 +08:00
AUTHORS more work on the xml reader interfaces. updated Igor's mail and the Web 2002-12-18 14:53:54 +00:00
autogen.sh More updates and cleanups on autotools and Makefiles 2012-08-17 10:04:30 +08:00
buf.c CVE-2015-1819 Enforce the reader to run in constant memory 2015-04-14 17:41:48 +08:00
buf.h Fix and add const qualifiers 2014-10-13 16:06:21 +08:00
build_glob.py patch from Stphane Bidoul for setting up threads global defaults. this 2003-05-15 22:11:36 +00:00
c14n.c properly quote the namespace uris written out during c14n 2013-05-09 16:02:16 +00:00
catalog.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
ChangeLog Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
check-relaxng-test-suite2.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-relaxng-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-xinclude-test-suite.py changed changed sys.path setting from 'append' to 'insert' (patch supplied 2004-10-02 22:55:49 +00:00
check-xml-test-suite.py changed changed sys.path setting from 'append' to 'insert' (patch supplied 2004-10-02 22:55:49 +00:00
check-xsddata-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
chvalid.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
chvalid.def rebuilt chvalid.def from scratch based on XML 2nd edition REC and 2003-10-11 22:53:44 +00:00
configure.ac Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
Copyright Cleanup the Copyright to be pure MIT Licence wording 2012-09-20 21:46:19 +08:00
dbgen.pl add a Timingtests target to check bad behaviour from the streaming engine 2003-09-17 22:33:22 +00:00
dbgenattr.pl add a Timingtests target to check bad behaviour from the streaming engine 2003-09-17 22:33:22 +00:00
debugXML.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
dict.c Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
DOCBparser.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
elfgcchack.h Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local" 2017-06-06 15:53:42 +02:00
enc.h Fix the flushing out of raw buffers on encoding conversions 2013-02-13 18:19:42 +08:00
encoding.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
entities.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
error.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
genChRanges.py applied patches from Aivars Kalvans to make unicode tables const, fixes 2006-03-27 09:30:13 +00:00
gentest.py Avoid out-of-bound array access in API tests 2017-06-01 14:31:28 +02:00
genUnicode.py applied patches from Aivars Kalvans to make unicode tables const, fixes 2006-03-27 09:30:13 +00:00
global.data Fix SetGenericErrorFunc and SetStructured clash 2009-08-24 17:34:25 +02:00
globals.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
HACKING added Aleksey Sanin <aleksey@aleksey.com> as one of the persons allowed to 2002-04-30 06:48:41 +00:00
hash.c Fix various Missing Null checks 2014-07-14 17:50:27 +08:00
HTMLparser.c Heap use-after-free in htmlParsePubidLiteral and htmlParseSystemiteral 2016-05-23 15:01:07 +08:00
HTMLtree.c Allow HTML serializer to output HTML5 DOCTYPE 2015-04-03 22:52:36 +08:00
INSTALL.libxml2 use autoreconf in autogen.sh 2010-03-10 10:35:56 +01:00
legacy.c Legacy needs xmlSAX2StartElement() and xmlSAX2EndElement(). 2014-02-10 10:32:45 +08:00
libxml2-config.cmake.in libxml2-config.cmake.in: update include directories 2015-02-13 01:53:07 +01:00
libxml2.doap * libxml2.doap: adding RDF dope file. 2009-05-12 08:54:59 +02:00
libxml2.syms Release of libxml2-2.9.1 2013-04-19 15:36:36 +08:00
libxml-2.0-uninstalled.pc.in build: Add @LZMA_LIBS@ to libxml’s pkg-config files 2013-10-29 17:35:36 +08:00
libxml-2.0.pc.in build: Add @LZMA_LIBS@ to libxml’s pkg-config files 2013-10-29 17:35:36 +08:00
libxml.3 libxml(3) manpage typo fix 2012-08-17 11:59:01 +08:00
libxml.h More format string warnings with possible format string vulnerability 2016-05-23 15:01:08 +08:00
libxml.m4 applied changes suggested by Mike Hommey, remove libxml1 support and use 2004-06-28 09:27:23 +00:00
libxml.spec.in Release of libxml2-2.9.4 2016-05-23 16:04:52 +08:00
list.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
MAINTAINERS Update MAINTAINERS file to match Gnome stuff, Daniel 2007-09-04 08:10:09 +00:00
Makefile.am Fix handling of parameter-entity references 2017-06-05 18:38:33 +02:00
Makefile.tests add a new regression test program for testing character ranges and UTF8 2008-07-24 15:05:38 +00:00
Makefile.win Release 0.2, 80% rewrite, nothing left intact ... Daniel 1998-08-13 03:39:55 +00:00
nanoftp.c Leak of struct addrinfo in xmlNanoFTPConnect() 2014-10-06 19:28:29 +08:00
nanohttp.c Increase buffer space for port in HTTP redirect support 2017-04-07 17:13:28 +02:00
NEWS Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
parser.c Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local" 2017-06-06 15:53:42 +02:00
parserInternals.c Stop parser on unsupported encodings 2017-06-07 19:30:56 +02:00
pattern.c Fix memory leak in pattern error path 2017-05-27 15:59:18 +02:00
README Fixed two typos in the README document 2012-03-16 15:12:25 -04:00
README.cvs-commits - README.cvs-commits: added, pointing to HACKING 2001-03-13 09:31:12 +00:00
README.tests Update README.tests 2012-05-07 15:23:25 +08:00
regressions.py new files for running regression tests under Python. Not yet complete, but 2004-06-27 02:07:51 +00:00
regressions.xml new files for running regression tests under Python. Not yet complete, but 2004-06-27 02:07:51 +00:00
relaxng.c relaxng.c, xmlschemas.c: Fix build on pre-C99 compilers 2016-06-23 19:02:26 +08:00
rngparser.c Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
runsuite.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
runtest.c Fix handling of parameter-entity references 2017-06-05 18:38:33 +02:00
runxmlconf.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
save.h Improve HTML escaping of attribute on output 2012-09-05 12:11:43 +08:00
SAX2.c Do not leak the new CData node if adding fails 2017-04-07 18:24:52 +02:00
SAX.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
schematron.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
testapi.c Avoid out-of-bound array access in API tests 2017-06-01 14:31:28 +02:00
testAutomata.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testC14N.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testchar.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testdict.c Remove various unused value assignments 2014-10-27 21:18:57 +08:00
testdso.c warning patches from Peter Breitenlohner serious DTD parsing speedups, 2005-01-25 00:22:52 +00:00
testHTML.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testlimits.c Fix format string warnings 2016-10-12 13:22:57 +02:00
testModule.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
testOOM.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testOOMlib.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testOOMlib.h integrated the Out Of Memory test from Havoc Pennington #109368 a lot of 2003-04-24 16:06:47 +00:00
testReader.c a lot of small cleanups based on Linus' sparse check output. Daniel 2005-07-28 23:49:35 +00:00
testrecurse.c clean redefinition of {v}snprintf in C-source 2012-08-13 16:57:30 +08:00
testRegexp.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testRelax.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testSAX.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testSchemas.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testThreads.c 599241 fix an initialization problem on Win64 2010-11-15 13:00:29 +01:00
testThreadsWin32.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testURI.c add a debug option printing all the fields within the parsed URI structure 2007-10-16 12:18:18 +00:00
testXPath.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
threads.c Fix the fix to Windows locking 2015-03-03 19:42:01 +08:00
timsort.h Remove unused variables 2016-10-12 13:23:08 +02:00
TODO small update trying to add an API to get useful error informations back 2005-01-07 13:56:19 +00:00
TODO_SCHEMAS merged the current state of XML Schemas implementation, it is not 2002-04-16 15:50:10 +00:00
tree.c Avoid building recursive entities 2016-05-23 15:01:07 +08:00
trio.c Avoid Possible Null Pointer in trio.c 2014-07-14 21:22:07 +08:00
trio.h Generic portability fix 2013-12-12 15:00:46 +08:00
triodef.h Portability fixes for OS/400 2013-12-12 15:11:40 +08:00
trionan.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
trionan.h Big space and tab cleanup 2012-09-11 13:26:36 +08:00
triop.h applied a trio update patch from Bjorn Reese which should work with MinGW 2002-09-25 22:44:43 +00:00
triostr.c Various portability patches for OpenVMS 2013-12-17 15:33:50 +08:00
triostr.h applied patch from Andreas Stricke to ease the compilation on Windows CE 2007-04-17 12:44:58 +00:00
uri.c Fix memory leak in xmlCanonicPath 2017-05-27 15:59:18 +02:00
valid.c Fix buffer size checks in xmlSnprintfElementContent 2017-06-05 19:38:19 +02:00
xinclude.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
xlink.c missing else in xlink.c 2013-07-02 09:47:26 +08:00
xml2-config.1 xml2-config.1 markup error 2012-08-28 23:40:56 +08:00
xml2-config.in Fix Broken multi-arch support in xml2-config 2012-11-08 16:24:07 +08:00
xml2Conf.sh.in Small fixups: - xml2Conf.sh.in: fixes pointed out by Fredrik Hallenberg - 2001-03-03 18:50:55 +00:00
xmlcatalog.c xmlcatalog: flush stdout before interactive shell input. 2016-05-01 18:34:13 +08:00
xmlIO.c Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local" 2017-06-06 15:53:42 +02:00
xmllint.c Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local" 2017-06-06 15:53:42 +02:00
xmlmemory.c Check for integer overflow in memory debug code 2017-06-06 13:21:14 +02:00
xmlmodule.c Avoid a possible NULL pointer dereference 2014-02-18 11:47:43 +08:00
xmlreader.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
xmlregexp.c Fix undefined behavior in xmlRegExecPushStringInternal 2017-06-01 14:31:27 +02:00
xmlsave.c Avoid an out of bound access when serializing malformed strings 2016-05-23 13:42:18 +08:00
xmlschemas.c Fix attribute decoding during XML schema validation 2016-08-29 11:21:08 +02:00
xmlschemastypes.c Portability to non C99 compliant compilers 2016-05-03 21:37:52 +08:00
xmlstring.c More format string warnings with possible format string vulnerability 2016-05-23 15:01:08 +08:00
xmlunicode.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
xmlwriter.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
xpath.c Check for integer overflow in xmlXPathFormatNumber 2017-06-01 22:00:19 +02:00
xpointer.c Fix memory leaks in XPointer error paths 2017-05-27 15:59:18 +02:00
xzlib.c Reenable xz support by default 2015-11-03 15:46:29 +08:00
xzlib.h Fix a regression in xmlGetDocCompressMode() 2013-05-10 14:01:46 +08:00

                  XML toolkit from the GNOME project

Full documentation is available on-line at
    http://xmlsoft.org/

This code is released under the MIT Licence see the Copyright file.

To build on an Unixised setup:
   ./configure ; make ; make install
To build on Windows:
   see instructions on win32/Readme.txt

To assert build quality:
   on an Unixised setup:
      run make tests
   otherwise:
       There is 3 standalone tools runtest.c runsuite.c testapi.c, which
       should compile as part of the build or as any application would.
       Launch them from this directory to get results, runtest checks 
       the proper functionning of libxml2 main APIs while testapi does
       a full coverage check. Report failures to the list.

To report bugs, follow the instructions at: 
  http://xmlsoft.org/bugs.html

A mailing-list xml@gnome.org is available, to subscribe:
    http://mail.gnome.org/mailman/listinfo/xml

The list archive is at:
    http://mail.gnome.org/archives/xml/

All technical answers asked privately will be automatically answered on
the list and archived for public access unless privacy is explicitly
required and justified.

Daniel Veillard

$Id$