1. 09 Nov, 2015 1 commit
  2. 11 Jun, 2014 1 commit
    • Daniel Veillard's avatar
      Fixes for xmlInitParserCtxt · c35af8b1
      Daniel Veillard authored
      let's make sure that parser options are updated too when a corrsponding
      global variable or other field of the context is set.
  3. 03 Aug, 2013 1 commit
  4. 19 Feb, 2013 1 commit
    • Daniel Veillard's avatar
      Detect excessive entities expansion upon replacement · 23f05e0c
      Daniel Veillard authored
      If entities expansion in the XML parser is asked for,
      it is possble to craft relatively small input document leading
      to excessive on-the-fly content generation.
      This patch accounts for those replacement and stop parsing
      after a given threshold. it can be bypassed as usual with the
      HUGE parser option.
  5. 13 Feb, 2013 1 commit
  6. 30 Oct, 2012 1 commit
  7. 11 Sep, 2012 1 commit
  8. 30 Jul, 2012 1 commit
    • Daniel Veillard's avatar
      Introduce some default parser limits · 52d8ade7
      Daniel Veillard authored
      Those can be overrided by the XML_PARSE_HUGE option, they
      are just default limits for Name lenght, dictionary size limits
      and maximum amount of parser lookup.
      * include/libxml/parserInternals.h: define the limits
      * include/libxml/xmlerror.h: add a new error
      * parser.c parserInternals.c: implements the new limits
  9. 23 Jul, 2012 2 commits
    • Daniel Veillard's avatar
      Cleanup function xmlBufResetInput() to set input from Buffer · 61551a1e
      Daniel Veillard authored
      This was scattered in a number of modules, xmlParserInputPtr
      have usually their base, cur and end pointer set from an
      xmlBuf used as input.
      * buf.c buf.h: add a new function implementing this setup
      * parser.c HTMLparser.c catalog.c parserInternals.c xmlreader.c
        use the new function instead of digging into the buffer in
        all those modules
    • Daniel Veillard's avatar
      Convert XML parser to the new input buffers · 768eb3b8
      Daniel Veillard authored
      The main changes are when the internal of the buffers structure
      were adressed directly, we now use routines coming from buf.h
      The routine xmlParserInputRead() which wasn't used anywhere is
      deprecated too.
  10. 15 May, 2012 1 commit
  11. 15 Mar, 2010 1 commit
    • Eugene Pimenov's avatar
      Switch the HTML parser to be non-recursive · 615904f5
      Eugene Pimenov authored
      * HTMLparser.c: new htmlParseElementInternal non recursive, with
        htmlParseContentInternal and new function to handle node info
        and element end.
      * include/libxml/parser.h: add new stack for element info in parser
      * parserInternals.c: fee element info stack
  12. 26 Aug, 2009 1 commit
    • Daniel Veillard's avatar
      566012 autodetected encoding and encoding conflict · 7e385bd4
      Daniel Veillard authored
      * encoding.c parser.c parserInternals.c: when we autodetect an encoding
        but it's actually not completely compatible with the one declared
        great care must be taken to not convert more than just the first line.
        Led to some refactoring, more private functions and a bit of cleanup.
  13. 25 Aug, 2009 1 commit
  14. 20 Aug, 2009 1 commit
  15. 20 Aug, 2008 1 commit
    • Daniel Veillard's avatar
      fix for CVE-2008-3281 Daniel · 4bf899bf
      Daniel Veillard authored
      * include/libxml/parser.h include/libxml/entities.h entities.c
        parserInternals.c parser.c: fix for CVE-2008-3281
      svn path=/trunk/; revision=3772
  16. 28 Apr, 2008 1 commit
  17. 11 Jan, 2008 1 commit
  18. 17 Oct, 2006 1 commit
  19. 09 Mar, 2006 1 commit
  20. 10 Dec, 2005 1 commit
  21. 17 Nov, 2005 1 commit
  22. 26 Oct, 2005 1 commit
  23. 02 Sep, 2005 1 commit
  24. 29 Jul, 2005 1 commit
  25. 03 Jul, 2005 1 commit
  26. 01 Apr, 2005 1 commit
    • Daniel Veillard's avatar
      revamped the elfgcchack.h format to cope with gcc4 change of aliasing · 5d4644ef
      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
  27. 05 Jan, 2005 1 commit
  28. 25 Dec, 2004 1 commit
  29. 09 Nov, 2004 1 commit
  30. 08 Nov, 2004 3 commits
  31. 05 Nov, 2004 1 commit
    • Daniel Veillard's avatar
      autogenerate a minimal NULL value sequence for unknown pointer types This · ce682bc2
      Daniel Veillard authored
      * gentest.py testapi.c: autogenerate a minimal NULL value sequence
        for unknown pointer types
      * HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c
        parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c
        xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c
        xpointer.c: This uncovered an impressive amount of entry points
        not checking for NULL pointers when they ought to, closing all
        the open gaps.
  32. 02 Nov, 2004 1 commit
    • Daniel Veillard's avatar
      adding xmlMemBlocks() work on generator of an automatic API regression · 36e5cd50
      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
  33. 29 Oct, 2004 1 commit
    • Daniel Veillard's avatar
      register xmlSchemaSetValidErrors, patch from Brent Hendricks in the · eff45a92
      Daniel Veillard authored
      * python/libxml.c: register xmlSchemaSetValidErrors, patch from
        Brent Hendricks in the mailing-list
      * include/libxml/valid.h HTMLparser.c SAX2.c valid.c
        parserInternals.c: fix #156626 and more generally how to find out
        if a validation contect is part of a parsing context or not. This
        can probably be improved to make 100% sure that vctxt->userData
        is the parser context too. It's a bit hairy because we can't
        change the xmlValidCtxt structure without breaking the ABI since
        this change xmlParserCtxt information indexes.
  34. 16 Aug, 2004 1 commit
    • Daniel Veillard's avatar
      small typo pointed out by Mike Hommey slightly improved the --c14n · 29b17482
      Daniel Veillard authored
      * xmlIO.c: small typo pointed out by Mike Hommey
      * doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved
        the --c14n description, c.f. #144675 .
      * nanohttp.c nanoftp.c: applied a first simple patch from
        Mike Hommey for $no_proxy, c.f. #133470
      * parserInternals.c include/libxml/parserInternals.h
        include/libxml/xmlerror.h: cleanup to avoid 'error' identifier
        in includes #
      * parser.c SAX2.c debugXML.c include/libxml/parser.h:
        first version of the inplementation of parsing within
        the context of a node in the tree #142359, new function
        xmlParseInNodeContext(), added support at the xmllint --shell
        level as the "set" function
      * test/scripts/set* result/scripts/* Makefile.am: extended
        the script based regression tests to instrument the new function.
  35. 11 Feb, 2004 1 commit
    • Daniel Veillard's avatar
      added xmlByteConsumed() interface updated the benchmark rebuilt the docs · 3671190b
      Daniel Veillard authored
      * parserInternals.c xmlIO.c encoding.c include/libxml/parser.h
        include/libxml/xmlIO.h: added xmlByteConsumed() interface
      * doc/*: updated the benchmark rebuilt the docs
      * python/tests/Makefile.am python/tests/indexes.py: added a
        specific regression test for xmlByteConsumed()
      * include/libxml/encoding.h rngparser.c tree.c: small cleanups
  36. 09 Feb, 2004 1 commit
  37. 31 Oct, 2003 1 commit