1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-25 23:21:26 +03:00
XML parser and toolkit
Go to file
Nick Wellnhofer f824a4bd4d Fix memory leak in xmlAllocOutputBufferInternal error path
Thanks to Anish K Kurian for the report. Closes #60.
2019-05-20 13:38:22 +02:00
bakefile Merge testThreadsWin32.c into testThreads.c 2019-01-06 14:32:28 +01:00
doc Change git repo URL 2019-02-15 17:37:17 +01:00
example Build test programs only when needed 2017-06-17 15:44:50 +02:00
include Optional recursion limit when parsing XPath expressions 2019-04-11 15:35:57 +02:00
macos Stop including ansidecl.h 2017-11-27 14:35:29 +01:00
optim Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
os400 Stop including ansidecl.h 2017-11-27 14:35:29 +01:00
python Fix Python bindings under Windows 2019-01-06 14:32:28 +01:00
result Fix unsigned integer overflow 2019-05-20 13:38:22 +02:00
test Improve XPath predicate and filter evaluation 2019-04-22 14:48:46 +02:00
vms Remove unused AC_CHECKs 2017-11-27 14:35:29 +01:00
VxWorks apply a couple of fixes based on a Coverity report forwarded by Derrick 2008-06-10 14:56:11 +00:00
win32 Merge testThreadsWin32.c into testThreads.c 2019-01-06 14:32:28 +01:00
xstc Remove all .cvsignore as they are not used anymore 2012-09-04 14:25:23 +08:00
.gitignore Add some generated test files to .gitignore 2019-01-06 14:25:18 +01:00
.travis.yml Remove -Wno-array-bounds 2019-05-01 16:31:58 +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 Change dir to $THEDIR after ACLOCAL_PATH check 2018-08-23 20:42:23 +00:00
buf.c Spelling and grammar fixes 2017-06-17 16:34:23 +02: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 Stop using doc->charset outside parser code 2018-10-13 16:47:01 +02:00
catalog.c Fix hash callback signatures 2017-11-09 16:42:47 +01:00
ChangeLog Spelling and grammar fixes 2017-06-17 16:34:23 +02: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 Remove -Wno-array-bounds 2019-05-01 16:31:58 +02:00
CONTRIBUTING Change git repo URL 2019-02-15 17:37:17 +01: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 -Wcast-function-type warnings (GCC 8) 2019-01-06 14:25:12 +01:00
dict.c Annotate functions with __attribute__((no_sanitize)) 2019-05-20 13:38:22 +02:00
DOCBparser.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
elfgcchack.h Change preprocessor OS tests to __linux__ 2017-09-14 21:30:51 +02:00
enc.h Fix the flushing out of raw buffers on encoding conversions 2013-02-13 18:19:42 +08:00
encoding.c Remove a misleading line from xmlCharEncOutput 2018-07-23 10:21:38 +08:00
entities.c Fix hash callback signatures 2017-11-09 16:42:47 +01:00
error.c Fix -Wcast-function-type warnings (GCC 8) 2019-01-06 14:25:12 +01:00
genChRanges.py applied patches from Aivars Kalvans to make unicode tables const, fixes 2006-03-27 09:30:13 +00:00
gentest.py Fix unused function warning in testapi.c 2019-01-06 14:25:18 +01:00
genUnicode.py Add const in five places to move 1 KiB to .rdata 2017-08-28 21:27:03 +02:00
global.data Fix SetGenericErrorFunc and SetStructured clash 2009-08-24 17:34:25 +02:00
globals.c Introduce xmlPosixStrdup and update xmlMemStrdup 2017-11-09 15:30:15 +01:00
hash.c Annotate functions with __attribute__((no_sanitize)) 2019-05-20 13:38:22 +02:00
HTMLparser.c Fix warnings when compiling without reader or push parser 2019-05-16 21:06:56 +02:00
HTMLtree.c Fix HTML serialization with UTF-8 encoding 2018-10-13 16:47:13 +02: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.8 2018-03-05 17:09:43 +01: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 Annotate functions with __attribute__((no_sanitize)) 2019-05-20 13:38:22 +02:00
libxml.m4 Spelling and grammar fixes 2017-06-17 16:34:23 +02:00
libxml.spec.in Updating the spec file to reflect Fedora 24 2017-08-29 12:40:54 +02:00
list.c Fix list callback signatures 2017-11-09 17:28:00 +01:00
MAINTAINERS Update MAINTAINERS file to match Gnome stuff, Daniel 2007-09-04 08:10:09 +00:00
Makefile.am Merge testThreadsWin32.c into testThreads.c 2019-01-06 14:32:28 +01: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 Fix pointer comparison warnings on 64-bit Windows 2017-10-21 14:01:10 +02:00
nanohttp.c Fix libz and liblzma detection 2017-11-27 14:33:37 +01:00
NEWS Regenerate NEWS 2019-02-15 17:37:19 +01:00
parser.c Fix unsigned integer overflow 2019-05-20 13:38:22 +02:00
parserInternals.c Fix memory leak in xmlSwitchInputEncodingInt error path 2018-11-22 16:28:46 +01:00
pattern.c Fix call stack overflow in xmlFreePattern 2019-04-25 11:37:37 +02:00
README Fixed two typos in the README document 2012-03-16 15:12:25 -04:00
README.cvs-commits Update information about contributing 2017-11-27 13:42:30 +01:00
README.tests Update README.tests 2012-05-07 15:23:25 +08:00
README.zOS Description of work needed to compile on zOS 2017-08-28 14:45:19 +02: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 Fix "Problem with data in interleave in RelaxNG validation" 2019-01-01 20:02:36 +01:00
rngparser.c Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
runsuite.c Remove unneeded function pointer casts 2019-01-06 14:25:18 +01:00
runtest.c Remove unneeded function pointer casts 2019-01-06 14:25:18 +01:00
runxmlconf.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
save.h Fix compilation with --with-minimum 2019-04-08 14:04:44 +02:00
SAX2.c Fix memory leak in xmlSAX2StartElement 2019-01-07 18:07:00 +01: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 Fix unused function warning in testapi.c 2019-01-06 14:25:18 +01:00
testAutomata.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testC14N.c Fix Windows compiler warning in testC14N.c 2019-01-06 14:32:28 +01: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 Fix -Wformat-truncation warnings (GCC 8) 2019-01-06 14:24:59 +01:00
testRegexp.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testRelax.c Fix -Wcast-function-type warnings (GCC 8) 2019-01-06 14:25:12 +01:00
testSAX.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testSchemas.c Fix -Wcast-function-type warnings (GCC 8) 2019-01-06 14:25:12 +01:00
testThreads.c Merge testThreadsWin32.c into testThreads.c 2019-01-06 14:32:28 +01:00
testURI.c add --relative to testURI 2018-11-29 22:11:59 +01:00
testXPath.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
threads.c Fix -Wtautological-pointer-compare warnings 2017-11-27 14:35:29 +01:00
timsort.h Fix unsigned integer overflow 2019-05-20 13:38:22 +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 Fix libz and liblzma detection 2017-11-27 14:33:37 +01: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 unsigned integer overflow 2019-05-20 13:38:22 +02:00
valid.c Fix list callback signatures 2017-11-09 17:28:00 +01:00
xinclude.c Fix hash callback signatures 2017-11-09 16:42:47 +01:00
xlink.c Fix libz and liblzma detection 2017-11-27 14:33:37 +01: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: restore ability to query system catalog easily 2017-10-21 15:26:40 +02:00
xmlIO.c Fix memory leak in xmlAllocOutputBufferInternal error path 2019-05-20 13:38:22 +02:00
xmllint.c Fix warnings when compiling without reader or push parser 2019-05-16 21:06:56 +02:00
xmlmemory.c Fix pointer/int cast warnings on 64-bit Windows 2017-10-09 13:47:49 +02:00
xmlmodule.c Ignore function pointer cast warnings 2017-11-14 16:01:48 +01:00
xmlreader.c Remove debug printf in xmlreader.c 2019-02-28 12:25:05 +01:00
xmlregexp.c Fix null deref in xmlregexp error path 2019-03-05 15:14:34 +01:00
xmlsave.c Remove unused member doc in xmlSaveCtxt 2019-05-10 12:30:03 +02:00
xmlschemas.c Fix xmlSchemaValidCtxtPtr reuse memory leak 2018-09-04 16:48:15 +02:00
xmlschemastypes.c Fix hash callback signatures 2017-11-09 16:42:47 +01:00
xmlstring.c Documentation fixes 2017-06-18 17:58:38 +02:00
xmlunicode.c Add const in five places to move 1 KiB to .rdata 2017-08-28 21:27:03 +02:00
xmlwriter.c Fix IO callback signatures 2017-11-09 17:47:47 +01:00
xpath.c Remove redundant code in xmlXPathCompRelationalExpr 2019-05-20 13:38:22 +02:00
xpointer.c Check for integer overflow in xmlXPtrEvalChildSeq 2019-03-29 13:03:17 +01:00
xzlib.c Fix infinite loop in LZMA decompression 2018-07-30 14:35:17 +02: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$