Commit Graph

17 Commits

Author SHA1 Message Date
Adolf Belka
d30da847cf libxml2: Update to version 2.9.14
- Update from version 2.9.12 to 2.9.14
- Update of rootfile
- Changelog
   v2.9.14: May 02 2022:
     - Security:
	  [CVE-2022-29824] Integer overflow in xmlBuf and xmlBuffer
	  Fix potential double-free in xmlXPtrStringRangeFunction
	  Fix memory leak in xmlFindCharEncodingHandler
	  Normalize XPath strings in-place
	  Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars()
           (David Kilzer)
	  Fix leak of xmlElementContent (David Kilzer)
     - Bug fixes:
	  Fix parsing of subtracted regex character classes
	  Fix recursion check in xinclude.c
	  Reset last error in xmlCleanupGlobals
	  Fix certain combinations of regex range quantifiers
	  Fix range quantifier on subregex
     - Improvements:
	  Fix recovery from invalid HTML start tags
     - Build system, portability:
	  Define LFS macros before including system headers
	  Initialize XPath floating-point globals
	  configure: check for icu DEFS (James Hilliard)
	  configure.ac: produce tar.xz only (GNOME policy) (David Seifert)
	  CMakeLists.txt: Fix LIBXML_VERSION_NUMBER
	  Fix build with older Python versions
	  Fix --without-valid build
   v2.9.13: Feb 19 2022:
     - Security:
	  [CVE-2022-23308] Use-after-free of ID and IDREF attributes
	  (Thanks to Shinji Sato for the report)
	  Use-after-free in xmlXIncludeCopyRange (David Kilzer)
	  Fix Null-deref-in-xmlSchemaGetComponentTargetNs (huangduirong)
	  Fix memory leak in xmlXPathCompNodeTest
	  Fix null pointer deref in xmlStringGetNodeList
	  Fix several memory leaks found by Coverity (David King)
     - Fixed regressions:
	  Fix regression in RelaxNG pattern matching
	  Properly handle nested documents in xmlFreeNode
	  Fix regression with PEs in external DTD
	  Fix random dropping of characters on dumping ASCII encoded XML (Mohammad Razavi)
	  Revert "Make schema validation fail with multiple top-level elements"
	  Fix regression when parsing invalid HTML tags in push mode
	  Fix regression parsing public IDs literals in HTML
	  Fix buffering in xmlOutputBufferWrite
	  Fix whitespace when serializing empty HTML documents
	  Fix XPath recursion limit
	  Fix regression in xmlNodeDumpOutputInternal
	  Work around lxml API abuse
     - Bug fixes:
	  Fix xmlSetTreeDoc with entity references
	  Fix double counting of CRLF in comments
	  Make sure to grow input buffer in xmlParseMisc
	  Don't ignore xmllint options after "-"
	  Don't normalize namespace URIs in XPointer xmlns() scheme
	  Fix handling of XSD with empty namespace
	  Also register HTML document nodes
	  Make xmllint return an error if arguments are missing
	  Fix handling of ctxt->base in xmlXPtrEvalXPtrPart
	  Fix xmllint --maxmem
	  Fix htmlReadFd, which was using a mix of xml and html context functions (Finn Barber)
	  Move current position before possible calling of ctxt->sax->characters (Yulin Li)
	  Fix parse failure when 4-byte character in UTF-16 BE is split across a chunk (David Kilzer)
	  Patch to forbid epsilon-reduction of final states (Arne Becker)
	  Avoid segfault at exit when using custom memory functions (Mike Dalessio)
     - Tests, code quality, fuzzing:
	  Remove .travis.yml
	  Make xmlFuzzReadString return a zero size in error case
	  Fix unused function warning in testapi.c
	  Update NewsML DTD in test suite
	  Add more checks for malloc failures in xmllint.c
	  Avoid potential integer overflow in xmlstring.c
	  Run CI tests with UBSan implicit-conversion checks
	  Fix casting of line numbers in SAX2.c
	  Fix integer conversion warnings in hash.c
	  Add explicit casts in runtest.c
	  Fix integer conversion warning in xmlIconvWrapper
	  Add suffix to unsigned constant in xmlmemory.c
	  Add explicit casts in testchar.c
	  Fix integer conversion warnings in xmlstring.c
	  Add explicit cast in xmlURIUnescapeString
	  Remove unused variable in xmlCharEncOutFunc (David King)
     - Build system, portability:
	  Remove xmlwin32version.h
	  Fix fuzzer test with VPATH build
	  Support custom prefix when installing Python module
	  Remove Makefile.win
	  Remove CVS and SVN-related code
	  Port python 3.x module to Windows and improve distutils (Chun-wei Fan)
	  Correctly install the HTML examples into their subdirectory (Mattia Rizzolo)
	  Refactor the settings of $docdir (Mattia Rizzolo)
	  Remove unused configure checks (Ben Boeckel)
	  python/Makefile.am: use *_LIBADD, not *_LDFLAGS for LIBS (Sam James)
	  Fix check for libtool in autogen.sh
	  Use version in configure.ac for CMake (Timothy Lyanguzov)
	  Add CMake alias targets for embedded projects (Markus Rickert)
     - Documentation:
	  Remove SVN keyword anchors
	  Rework README
	  Remove README.cvs-commits
	  Remove old ChangeLog
	  Update hyperlinks
	  Remove README.docs
	  Remove MAINTAINERS
	  Remove xmltutorial.pdf
	  Upload documentation to GitLab pages
	  Document how to escape XML_CATALOG_FILES
	  Fix libxml2.doap
	  Update URL for libxml++ C++ binding (Kjell Ahlstedt)
	  Generate devhelp2 index file (Emmanuele Bassi)
	  Mention XML_CATALOG_FILES is space-separated (Jan Tojnar)
	  Add documentaiton for xmllint exit code 10 (Rainer Canavan)
	  Fix some validation errors in the FAQ (David King)
	  Add instructions on how to use CMake to compile libxml (Markus Rickert)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-30 19:45:21 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Adolf Belka
44f511ee10 libxml2: Update to version 2.9.12
- Update from 2.9.10 to 2.9.12
- Update rootfile
- Changelog for 2.9.11 is too large to put all of it here. Full details can be found at
   http://www.xmlsoft.org/news.html
   Git commit comments:-
   2.9.12
     Brown paper bag release, some recently added sources were missing from
      the 2.9.11 tarball
   2.9.11
     Prompted by CVE-2021-3541, but this includes an awful lot of serious bug
      fixes by Nick and others

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-01-14 13:44:08 +00:00
Adolf Belka
607754d63d libxml2: Update to disable python2 modules
- Added --without-python to configure section to not build the python2
  modules which are not required for libxml2 use in IPFire
- Update rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-05-12 10:37:58 +00:00
Adolf Belka
35b2b3c619 libxml2: Update to 2.9.10
- Update from 2.9.4 to 2.9.10
- Update of rootfile
- Changelog
  v2.9.10: Oct 30 2019
  Documentation:
    Fix a few more typos ("fonction") (Nick Wellnhofer),
    Large batch of typo fixes (Jared Yanovich),
    Fix typos: tree: move{ -> s}, reconcil{i -> }ed, h{o -> e}ld by... (Jan Pokorný),
    Fix typo: xpath: simpli{ -> fi}ed (Jan Pokorný),
    Doc: do not mislead towards "infeasible" scenario wrt. xmlBufNodeDump (Jan Pokorný),
    Fix comments in test code (zhouzhongyuan),
    fix comment in testReader.c (zhouzhongyuan)
  Portability:
    Fix some release issues on Fedora 30 (Daniel Veillard),
    Fix exponent digits when running tests under old MSVC (Daniel Richard G),
    Work around buggy ceil() function on AIX (Daniel Richard G),
    Don't call printf with NULL string in runtest.c (Daniel Richard G),
    Switched from unsigned long to ptrdiff_t in parser.c (Stephen Chenney),
    timsort.h: support older GCCs (Jérôme Duval),
    Make configure.ac work with older pkg-config (Nick Wellnhofer),
    Stop defining _REENTRANT on some Win32 platforms (Nick Wellnhofer),
    Fix nanohttp.c on MinGW (Nick Wellnhofer),
    Fix Windows compiler warning in testC14N.c (Nick Wellnhofer),
    Merge testThreadsWin32.c into testThreads.c (Nick Wellnhofer),
    Fix Python bindings under Windows (Nick Wellnhofer)
  Bug Fixes:
    Another fix for conditional sections at end of document (Nick Wellnhofer),
    Fix for conditional sections at end of document (Nick Wellnhofer),
    Make sure that Python tests exit with error code (Nick Wellnhofer),
    Audit memory error handling in xpath.c (Nick Wellnhofer),
    Fix error code in xmlTextWriterStartDocument (Nick Wellnhofer),
    Fix integer overflow when counting written bytes (Nick Wellnhofer),
    Fix uninitialized memory access in HTML parser (Nick Wellnhofer),
    Fix memory leak in xmlSchemaValAtomicType (Nick Wellnhofer),
    Disallow conditional sections in internal subset (Nick Wellnhofer),
    Fix use-after-free in xmlTextReaderFreeNodeList (Nick Wellnhofer),
    Fix Regextests (Nick Wellnhofer),
    Fix empty branch in regex (Nick Wellnhofer),
    Fix integer overflow in entity recursion check (Nick Wellnhofer),
    Don't read external entities or XIncludes from stdin (Nick Wellnhofer),
    Fix Schema determinism check of ##other namespaces (Nick Wellnhofer),
    Fix potential null deref in xmlSchemaIDCFillNodeTables (zhouzhongyuan),
    Fix potential memory leak in xmlBufBackToBuffer (Nick Wellnhofer),
    Fix error message when processing XIncludes with fallbacks (Nick Wellnhofer),
    Fix memory leak in xmlRegEpxFromParse (zhouzhongyuan),
    14:00 is a valid timezone for xs:dateTime (Nick Wellnhofer),
    Fix memory leak in xmlParseBalancedChunkMemoryRecover (Zhipeng Xie),
    Fix potential null deref in xmlRelaxNGParsePatterns (Nick Wellnhofer),
    Misleading error message with xs:{min|max}Inclusive (bettermanzzy),
    Fix memory leak in xmlXIncludeLoadTxt (Wang Kirin),
    Partial fix for comparison of xs:durations (Nick Wellnhofer),
    Fix null deref in xmlreader buffer (zhouzhongyuan),
    Fix unability to RelaxNG-validate grammar with choice-based name class (Jan Pokorný),
    Fix unability to validate ambiguously constructed interleave for RelaxNG (Jan Pokorný),
    Fix possible null dereference in xmlXPathIdFunction (zhouzhongyuan),
    fix memory leak in xmlAllocOutputBuffer (zhouzhongyuan),
    Fix unsigned int overflow (Jens Eggerstedt),
    dict.h: gcc 2.95 doesn't allow multiple storage classes (Nick Wellnhofer),
    Fix another code path in xmlParseQName (Nick Wellnhofer),
    Make sure that xmlParseQName returns NULL in error case (Nick Wellnhofer),
    Fix build without reader but with pattern (Nick Wellnhofer),
    Fix memory leak in xmlAllocOutputBufferInternal error path (Nick Wellnhofer),
    Fix unsigned integer overflow (Nick Wellnhofer),
    Fix return value of xmlOutputBufferWrite (Nick Wellnhofer),
    Fix parser termination from "Double hyphen within comment" error (David Warring),
    Fix call stack overflow in xmlFreePattern (Nick Wellnhofer),
    Fix null deref in previous commit (Nick Wellnhofer),
    Fix memory leaks in xmlXPathParseNameComplex error paths (Nick Wellnhofer),
    Check for integer overflow in xmlXPtrEvalChildSeq (Nick Wellnhofer),
    Fix xmllint dump of XPath namespace nodes (Nick Wellnhofer),
    Fix float casts in xmlXPathSubstringFunction (Nick Wellnhofer),
    Fix null deref in xmlregexp error path (Nick Wellnhofer),
    Fix null pointer dereference in xmlTextReaderReadOuterXml (Nick Wellnhofer),
    Fix memory leaks in xmlParseStartTag2 error paths (Nick Wellnhofer),
    Fix memory leak in xmlSAX2StartElement (Nick Wellnhofer),
    Fix commit "Memory leak in xmlFreeID (xmlreader.c)" (Nick Wellnhofer),
    Fix NULL pointer deref in xmlTextReaderValidateEntity (Nick Wellnhofer),
    Memory leak in xmlFreeTextReader (Nick Wellnhofer),
    Memory leak in xmlFreeID (xmlreader.c) (Nick Wellnhofer)
  Improvements:
    Run XML conformance tests under CI (Nick Wellnhofer),
    Update GitLab CI config (Nick Wellnhofer),
    Propagate memory errors in valuePush (Nick Wellnhofer),
    Propagate memory errors in xmlXPathCompExprAdd (Nick Wellnhofer),
    Make xmlFreeDocElementContent non-recursive (Nick Wellnhofer),
    Enable continuous integration via GitLab CI (Nick Wellnhofer),
    Avoid ignored attribute warnings under GCC (Nick Wellnhofer),
    Make xmlDumpElementContent non-recursive (Nick Wellnhofer),
    Make apibuild.py ignore ATTRIBUTE_NO_SANITIZE (Nick Wellnhofer),
    Mark xmlExp* symbols as removed (Nick Wellnhofer),
    Make xmlParseConditionalSections non-recursive (Nick Wellnhofer),
    Adjust expected error in Python tests (Nick Wellnhofer),
    Make xmlTextReaderFreeNodeList non-recursive (Nick Wellnhofer),
    Make xmlFreeNodeList non-recursive (Nick Wellnhofer),
    Make xmlParseContent and xmlParseElement non-recursive (Nick Wellnhofer),
    Remove executable bit from non-executable files (Nick Wellnhofer),
    Fix expected output of test/schemas/any4 (Nick Wellnhofer),
    Optimize build instructions in README (zhouzhongyuan),
    xml2-config.in: Output CFLAGS and LIBS on the same line (Hugh McMaster),
    xml2-config: Add a --dynamic switch to print only shared libraries (Hugh McMaster),
    Annotate functions with __attribute__((no_sanitize)) (Nick Wellnhofer),
    Fix warnings when compiling without reader or push parser (Nick Wellnhofer),
    Remove unused member `doc` in xmlSaveCtxt (Nick Wellnhofer),
    Limit recursion depth in xmlXPathCompOpEvalPredicate (Nick Wellnhofer),
    Remove -Wno-array-bounds (Nick Wellnhofer),
    Remove unreachable code in xmlXPathCountFunction (Nick Wellnhofer),
    Improve XPath predicate and filter evaluation (Nick Wellnhofer),
    Limit recursion depth in xmlXPathOptimizeExpression (Nick Wellnhofer),
    Disable hash randomization when fuzzing (Nick Wellnhofer),
    Optional recursion limit when parsing XPath expressions (Nick Wellnhofer),
    Optional recursion limit when evaluating XPath expressions (Nick Wellnhofer),
    Use break statements in xmlXPathCompOpEval (Nick Wellnhofer),
    Optional XPath operation limit (Nick Wellnhofer),
    Fix compilation with --with-minimum (Nick Wellnhofer),
    Check XPath stack after calling functions (Nick Wellnhofer),
    Remove debug printf in xmlreader.c (Nick Wellnhofer),
    Always define LIBXML_THREAD_ENABLED when enabled (Michael Haubenwallner),
    Regenerate NEWS (Nick Wellnhofer),
    Change git repo URL (Nick Wellnhofer),
    Change bug tracker URL (Nick Wellnhofer),
    Remove outdated HTML file (Nick Wellnhofer),
    Fix unused function warning in testapi.c (Nick Wellnhofer),
    Add some generated test files to .gitignore (Nick Wellnhofer),
    Remove unneeded function pointer casts (Nick Wellnhofer),
    Fix -Wcast-function-type warnings (GCC 8) (Nick Wellnhofer),
    Fix -Wformat-truncation warnings (GCC 8) (Nick Wellnhofer)
  Cleanups:
    Rebuild docs (Nick Wellnhofer),
    Disable xmlExp regex code (Nick Wellnhofer),
    Remove redundant code in xmlRelaxNGValidateState (Nick Wellnhofer),
    Remove redundant code in xmlXPathCompRelationalExpr (Nick Wellnhofer)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-30 14:17:15 +00:00
Michael Tremer
d530953038 libxml2: Update automake
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-06 11:14:50 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Marcel Lorenz
411fb95335 libxml2: update to 2.9.4
http://xmlsoft.org/news.html

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-14 15:52:33 +01:00
Marcel Lorenz
f56d44e5f2 libxml2: update to 2.9.3
Contains security fixes and other bug fixes:

CVE-2015-8242 Buffer overead with HTML parser in push mode (Hugh Davenport)
CVE-2015-7500 Fix memory access error due to incorrect entities boundaries (Daniel Veillard)
CVE-2015-7499-2 Detect incoherency on GROW (Daniel Veillard)
CVE-2015-7499-1 Add xmlHaltParser() to stop the parser (Daniel Veillard)
CVE-2015-5312 Another entity expansion issue (David Drysdale)
CVE-2015-7497 Avoid an heap buffer overflow in xmlDictComputeFastQKey (David Drysdale)
CVE-2015-7498 Avoid processing entities after encoding conversion failures (Daniel Veillard)
CVE-2015-8035 Fix XZ compression support loop (Daniel Veillard)
CVE-2015-7942-2 Fix an error in previous Conditional section patch (Daniel Veillard)
CVE-2015-7942 Another variation of overflow in Conditional sections (Daniel Veillard)
CVE-2015-1819 Enforce the reader to run in constant memory (Daniel Veillard)
CVE-2015-7941_2 Cleanup conditional section error handling (Daniel Veillard)
CVE-2015-7941_1 Stop parsing on entities boundaries errors (Daniel Veillard)

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-29 14:40:52 +01:00
Matthias Fischer
b6128a64b8 libxml2: Update to 2.9.2 2015-02-01 20:31:06 +01:00
Michael Tremer
c2741b14ef libxml2: Update to 2.6.32. 2013-09-26 19:52:34 +02:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
e989d2d914 Hwinfo-Hardwareerkennung entfernt.
Alte Paketdateien entfernt, da der Packager neu geschrieben wird.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@505 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-28 09:01:53 +00:00
ms
c5568d645a hwinfo in den Installer gebracht.
(Erstmal nur in das Image...)


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@446 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-03-11 20:20:29 +00:00
ms
411afd1f4b Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@320 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-13 15:35:24 +00:00
ms
a8b159e729 Geändert:
* Packager neu erstellt.
  XAMPP Paket noch nicht drin. ERRORS! :(


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@175 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-06-13 21:05:40 +00:00
ms
5e69ef1ac3 Hinzugefügt:
* Asterisk - mit Zaptel/LibPRI/BRISTUFF/app_fax
  * Spandsp
  * LibTIFF
  * LibXML2
  * eDonkey-commandline-client
Geändert:
  * busybox - tar-parameter zurückgesetzt
  * postfix hat Beta-Status-1


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@101 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-04-14 23:12:47 +00:00