- 06 Jun, 2017 1 commit
-
-
Nick Wellnhofer authored
Fixes bug 783026. Thanks to Pranjal Jumde for the report.
-
- 23 May, 2016 1 commit
-
-
For https://bugzilla.gnome.org/show_bug.cgi?id=764616 This code is used only if turning memory allocation debug in configure with --with-mem-debug, which should never happen in real life, so not a serious issue. * xmlmemory.c: (MAX_SIZE_T): Macro to define maximum value of size_t. (xmlMallocAtomicLoc): Add bounds check. Fix description and use the correct function name in another error message.
-
- 13 Apr, 2015 1 commit
-
-
For https://bugzilla.gnome.org/show_bug.cgi?id=747437 just use the mutex to protect access to those variables
-
- 13 Oct, 2014 1 commit
-
-
If realloc fails, free original pointer. Signed-off-by:
Yegor Yefremov <yegorslists@googlemail.com>
-
- 26 Jul, 2014 1 commit
- 09 May, 2014 1 commit
-
-
Fix a use before check on pointer For https://bugzilla.gnome.org/show_bug.cgi?id=729849
-
- 11 Sep, 2012 1 commit
-
-
Daniel Veillard authored
Remove all space before tabs and space and tabs at end of lines.
-
- 09 May, 2011 1 commit
-
-
Stefan Kost authored
Also use %lu as that is more appropriate for size_t.
-
- 18 Jan, 2009 1 commit
-
-
Daniel Veillard authored
* include/libxml/parser.h include/libxml/xmlwriter.h include/libxml/relaxng.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in include/libxml/valid.h include/libxml/xmlschemas.h include/libxml/xmlerror.h: port patch from Marcus Meissner to add gcc checking for printf like functions parameters, should fix #65068 * doc/apibuild.py doc/*: modified the script accordingly and regenerated * xpath.c xmlmemory.c threads.c: fix a few warnings Daniel svn path=/trunk/; revision=3813
-
- 30 Jul, 2008 1 commit
-
-
Daniel Veillard authored
* include/libxml/xmlmemory.h xmlmemory.c: add xmlMemDisplayLast to help debug incremental memory leaks, and some cleanups * runxmlconf.c: use that new call and avoid ever touching the system catalog in the regression tests Daniel svn path=/trunk/; revision=3760
-
- 30 Oct, 2007 1 commit
-
-
Daniel Veillard authored
* xmlmemory.c: xmlFree(NULL) should not crash in debug mode should fix #491651 Daniel svn path=/trunk/; revision=3662
-
- 11 Oct, 2006 1 commit
-
-
Daniel Veillard authored
* include/libxml/xmlversion.h.in: fix comment on versions * xmlmemory.c: do not spend too much time digging in dumped memory Daniel
-
- 08 May, 2005 1 commit
-
-
Daniel Veillard authored
* xmlmemory.c: fixed #169630 segfault in xmlMemDisplay Daniel
-
- 14 Apr, 2005 1 commit
-
-
Daniel Veillard authored
* xmlmemory.c: added the call to the breakpoint routine when a monitored block is reallocated or freed Daniel
-
- 01 Apr, 2005 1 commit
-
-
Daniel Veillard authored
* doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel
-
- 10 Dec, 2004 1 commit
-
-
Daniel Veillard authored
* valid.c: fixed ID deallocation problem based on patch from Steve Shepard fixes bug #160893 * xmlmemory.c: improving comment. * testapi.c: new test for xmlDictExists() is generated. Daniel
-
- 02 Nov, 2004 1 commit
-
-
Daniel Veillard authored
* xmlmemory.c include/libxml/xmlmemory.h: adding xmlMemBlocks() * Makefile.am gentest.py testapi.c: work on generator of an automatic API regression test tool. * SAX2.c nanoftp.c parser.c parserInternals.c tree.c xmlIO.c xmlstring.c: various API hardeing changes as a result of running teh first set of automatic API regression tests. * test/slashdot16.xml: apparently missing from CVS, commited it Daniel
-
- 18 Sep, 2004 1 commit
-
-
William M. Brack authored
* nanohttp.c, include/libxml/nanohttp.h: added the routine xmlNanoHTTPContentLength to the external API (bug151968). * parser.c: fixed unnecessary internal error message (bug152060); also changed call to strncmp over to xmlStrncmp. * encoding.c: fixed compilation warning (bug152307). * tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed a couple of compilation warnings. * HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation warnings; no change to logic.
-
- 13 Jul, 2004 1 commit
-
-
Daniel Veillard authored
* xmlmemory.c: applied a small fix from Steve Hay Daniel
-
- 02 Jul, 2004 1 commit
-
-
Daniel Veillard authored
* xmlmemory.c python/libxml.c python/libxml2-python-api.xml: some updates with memory debugging facilities while messing with libxslt python bindings Daniel
-
- 01 Jul, 2004 1 commit
-
-
Daniel Veillard authored
* python/libxml.c python/generator.py python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt: applied patch from Stphane Bidoul to fix some Python bindings initialization, then had to change the parserCleanup() to handle memory released there. * xmlmemory.c: added more debugging comments. Daniel
-
- 10 Jun, 2004 1 commit
-
-
William M. Brack authored
* configure.in, xmlmemory.c, globals.c: fixed problem when configuring using --with-thread-alloc
-
- 22 Jan, 2004 1 commit
-
-
Aleksey Sanin authored
-
- 04 Jan, 2004 1 commit
-
-
William M. Brack authored
* xmlmemory.c: applied suggestion from Miloslav Trmac (see Bug 130419) and eliminated xmlInitMemoryDone. More improvement needed. * xml2-config.in: added an additional flag (--exec-prefix) to allow library directory to be different from include directory (Bug 129558).
-
- 02 Jan, 2004 1 commit
-
-
Daniel Veillard authored
* SAX2.c: found and fixed a bug misallocating some non blank text node strings from the dictionnary. * xmlmemory.c: fixed a problem with the memory debug mutex release. Daniel
-
- 30 Dec, 2003 1 commit
-
-
William M. Brack authored
* parser.c, xmlmemory.c, include/libxml/xmlmemory.h: Fixed memory leak reported by Dave Beckett * xmlschemas.c: Removed spurious comment reported on the mailing list * xinclude.c, xpath.c, xpointer.c, libxml/include/xpointer.h: Further work on Bug 129967 concerning xpointer range handling and range-to function; much better, but still not complete
-
- 29 Nov, 2003 1 commit
-
-
William M. Brack authored
* xmlmemory.c: enhanced by adding mutex to protect global structures in a multi-threading environment. This fixed some random errors on the Threads regression tests. * encoding.c, include/libxml/encoding.h: Enhanced the handling of UTF-16, UTF-16LE and UTF-16BE encodings. Now UTF-16 output is handled internally by default, with proper BOM and UTF-16LE encoding. Native UTF-16LE and UTF-16BE encoding will not generate BOM on output, and will be automatically recognized on input. * test/utf16lebom.xml, test/utf16bebom.xml, result/utf16?ebom*: added regression tests for above.
-
- 29 Sep, 2003 3 commits
-
-
Daniel Veillard authored
* HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
-
Daniel Veillard authored
* xmlmemory.c: better fix, avoids breaking the python bindings Daniel
-
Daniel Veillard authored
* xmlmemory.c: fix a compilation problem when configuring with debug but without mem-debug Daniel
-
- 28 Sep, 2003 1 commit
-
-
Daniel Veillard authored
* Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
-
- 05 Aug, 2003 1 commit
-
-
William M. Brack authored
* error.c HTMLparser.c testC14N.c testHTML.c testURI.c xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c python/libxml.c include/libxml/xmlmemory.h: small changes to syntax to get rid of compiler warnings. No changes to logic.
-
- 24 Apr, 2003 1 commit
-
-
Daniel Veillard authored
* Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of Memory test from Havoc Pennington #109368 * SAX.c parser.c parserInternals.c tree.c uri.c valid.c xmlmemory.c xmlreader.c xmlregexp.c include/libxml/tree.h include/libxml/parser.h: a lot of memory allocation cleanups based on the results of the OOM testing * check-relaxng-test-suite2.py: seems I forgot to commit the script. Daniel
-
- 19 Apr, 2003 1 commit
-
-
Daniel Veillard authored
* DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c include/libxml/globals.h include/libxml/xmlmemory.h: added xmlMallocAtomic() to be used when allocating blocks which do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet() to allow registering the full set of functions needed by a garbage collecting allocator like libgc, ref #109944 Daniel
-
- 11 Dec, 2002 1 commit
-
-
Daniel Veillard authored
* doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API building Python script, does the C parsing directly, generates a better API description including structure fieds defs and enums. Still a couple of bugs, but good enough for the python wrappers now. * DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c include/libxml/schemasInternals.h include/libxml/tree.h: more cleanup based on the python analysis script reports. * libxml.spec.in: make sure the API XML description is part of the devel package. Daniel
-
- 10 Dec, 2002 1 commit
-
-
Daniel Veillard authored
* DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c: code cleanup, especially the function comments. * tree.c: fixed a small bug when freeing nodes which are XInclude ones. Daniel
-
- 28 Mar, 2002 1 commit
-
-
Daniel Veillard authored
* configure.in: fixed configure for MPE/iX from Markus Henke * xmlmemory.c: fixed initialization problems * xpath.c: another set of patches from Richard Jinks this fixes "make XPathtests" on linux Daniel
-
- 18 Mar, 2002 2 commits
-
-
Daniel Veillard authored
* configure.in: preparing 2.4.18 * doc/*: updated and rebuilt the web site * *.c libxml.h: implement the new IN_LIBXML scheme discussed with the Windows and Cygwin maintainers. * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
-
Daniel Veillard authored
* parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
-
- 15 Feb, 2002 1 commit
-
-
Daniel Veillard authored
* xmlmemory.c: avoid a warning bug #71594 Daniel
-