Roll libxml from 169857ad to 0e145ae4

This rolls libxml to version 2.14.2. Unlike previous rolls which would
update libxml to whatever commit is on the master branch of libxml at
the time of rolling, I am intentionally choosing a released version due
to feedback here:
https://issues.chromium.org/issues/391499612#comment22

2025-04-17 [email protected] Release v2.14.2
2025-04-06 [email protected] [CVE-2025-32415] schemas: Fix heap buffer overflow in xmlSchemaIDCFillNodeTables
2025-04-13 [email protected] Mention more potentially incompatible changes
2025-04-08 [email protected] [CVE-2025-32414] python: Read at most len/4 characters.
2025-04-12 [email protected] error: Fix initGenericErrorDefaultFunc compatibility macro
2025-04-05 [email protected] meson: don't link with pthreads on Windows
2025-04-04 [email protected] cmake, meson: Fix Darwin versions
2025-04-04 [email protected] cmake, meson: Align Darwin version info with Autotools
2025-04-04 [email protected] globals: Fix --with-thread-alloc build
2025-04-04 [email protected] meson: ensure relaxng option supports minimum option
2025-04-03 [email protected] Release v2.14.1
2025-03-27 [email protected] gitlab-ci: Don't hardcode release version
2025-03-30 [email protected] Mention some potentially incompatible changes
2025-03-28 [email protected] Eliminate removed objects
2025-03-28 [email protected] Update configure.js to support relax ng options and look for version in new location
2025-03-28 [email protected] parser: Fix XML_PARSE_NOBLANKS dropping non-whitespace text
2025-03-28 [email protected] meson: Fix build from tarball
2025-03-27 [email protected] cmake, meson: Change library filename to libxml2.so.16.0.0
2025-03-27 [email protected] Update documentation for 2.14.0
2025-03-27 [email protected] Release v2.14.0
2025-03-18 [email protected] tree: Fix xmlTextMerge with NULL args
2025-03-16 [email protected] fuzz: Update README
2025-03-16 [email protected] gitlab-ci: Silence PHP and lxml test output
2025-03-14 [email protected] Update NEWS
2025-03-14 [email protected] build: Don't make --with-legacy enable HTTP and LZMA
2025-03-14 [email protected] doc: Update CMake and meson instructions
2025-03-14 [email protected] meson: Run Python tests
2025-03-14 [email protected] hash: Fix false positive from -fanalyzer
2025-03-14 [email protected] include: Change some return types from int to enum
2025-03-13 [email protected] include: Convert some macros to enums
2025-03-13 [email protected] autotools: xmlcatalog requires output module
2025-03-13 [email protected] meson: Add xmllint and xmlcatalog shell tests
2025-03-13 [email protected] encoding: Support input-only and output-only converters
2025-03-10 [email protected] encoding: Detect truncated multi-byte sequences with ICU
2025-03-13 [email protected] meson: Install a xml2-config script
2025-03-11 [email protected] gitlab-ci: Add downstream job for lxml
2025-03-11 [email protected] doc: Document SAX handlers a little more
2025-03-11 [email protected] gitlab-ci: Add downstream job for PHP
2025-03-11 [email protected] parser: Fix ignorableWhitespace callback
2025-03-11 [email protected] xmllint: Make sure that parser options are used
2025-03-11 [email protected] parser: Fix spurious error in SAX mode
2025-03-10 [email protected] encoding: Fix memory leak in xmlCharEncNewCustomHandler
2025-03-09 [email protected] encoding: Rework custom encoding implementation API
2025-03-09 [email protected] parser: Undeprecate input->consumed
2025-03-09 [email protected] parser: Undeprecate ctxt->loadsubset
2025-03-09 [email protected] html: Fix areBlanks check
2025-03-09 [email protected] gitlab-ci: Use forked branch for XML::LibXML
2025-03-09 [email protected] Update NEWS
2025-03-09 [email protected] malloc-fail: Fix type confusion in xmlSchemaCheckAGPropsCorrect
2025-03-08 [email protected] doc: Documentation fixes
2025-03-08 [email protected] parser: Add more parser context accessors
2025-03-07 [email protected] html: Process data before switching encoding
2025-03-05 [email protected] encoding: Make conversion callbacks more type-safe
2025-03-05 [email protected] encoding: Remove compatibility struct members
2025-03-05 [email protected] parser: Convert xmlParserMaxDepth to macro
2025-03-05 [email protected] gitlab-ci: Reenable cmake:mingw
2025-03-05 [email protected] globals: Fix Windows build
2025-03-04 [email protected] globals: Remove unused globals
2025-03-04 [email protected] xpath: Rename valuePush and valuePop
2025-03-04 [email protected] Use memcpy to avoid pointer cast warnings
2025-03-04 [email protected] build: Restrict binary compatibility to 2.14
2025-03-04 [email protected] include: Add more deprecation warnings
2025-03-04 [email protected] cmake: Add WITH_LEGACY dependencies
2025-03-04 [email protected] globals: Remove functions related to global state handling
2025-03-04 [email protected] unicode: Make Unicode functions private
2025-03-04 [email protected] globals: Also use global state struct if threads are disabled
2025-03-04 [email protected] parser: Remove compatibility symbols
2025-03-04 [email protected] parser: Remove oldXMLWDcompatibility
2025-03-04 [email protected] build: Remove version script
2025-03-04 [email protected] legacy: Remove legacy symbols
2025-03-04 [email protected] error: Convert initGenericErrorDefaultFunc to macro
2025-03-04 [email protected] parser: Convert inputPush and inputPop to macros
2025-03-04 [email protected] parser: Make nodePush, nodePop, namePush, namePop private
2025-03-04 [email protected] encoding: Rename unprefixed public functions
2025-03-03 [email protected] cmake: Fix WITH_RELAXNG option
2025-03-02 [email protected] io: Fix `compressed` flag for uncompressed stdin
2025-03-01 [email protected] parser: Fix parsing of DTD content
2025-02-25 [email protected] Remove os400 port
2025-02-25 [email protected] Update NEWS
2025-02-25 [email protected] build: Add separate configuration option for RELAX NG
2025-02-25 [email protected] doc: Regenerate libxml2-api.xml
2025-02-22 [email protected] Remove unnecessary #includes
2025-02-22 [email protected] schemas: Make xmlSchemaDump depend on DEBUG_ENABLED
2025-02-22 [email protected] regexp: Hide debugging code behind DEBUG_REGEXP
2025-02-22 [email protected] xmlregexp: add support for compact form of automata in xmlRegexpPrint
2025-02-22 [email protected] regexp: Avoid dangling start/stop pointers in atom
2025-02-22 [email protected] html: Don't invoke SAX callbacks if parser was stopped
2025-02-22 [email protected] SAX2: Fix ctxt->nodemem check
2025-02-20 [email protected] gitlab-ci: Stop downloading and installing CMake for MSVC
2025-02-20 [email protected] meson: Fix Python module build
2025-02-20 [email protected] python: Pass destination dir to generator.py
2025-02-20 [email protected] meson: Use project_name instead of 'libxml2'
2024-12-18 [email protected] fuzz: Add utility scripts
2024-12-16 [email protected] fuzz: Reduce initial array size
2024-12-13 [email protected] fuzz: Rework fixed parser options
2024-12-13 [email protected] fuzz: Harden leak check in lint fuzzer
2024-12-11 [email protected] fuzz: Mutate fuzz data chunks separately
2024-12-11 [email protected] fuzz: Fix failure injection in schema fuzzer
2024-12-10 [email protected] fuzz: Start to fuzz XML Schema validator
2024-12-15 [email protected] test: Add test case for UAF in xmlSchemaIDCFillNodeTables
2025-02-20 [email protected] Fix C4296 warning: Resolve comparison of unsigned int with 0
2025-02-19 [email protected] html: Fix check for partial named character references
2025-02-19 [email protected] html: Remove htmlSaveErr
2025-02-19 [email protected] html: Handle error from htmlFindOutputEncoder
2025-02-18 [email protected] tests: Look for xmlconf in source directory
2025-02-18 [email protected] gitlab-ci: Run meson tests verbosely
2025-02-18 [email protected] fuzz: Add dictionary for lint fuzzer
2025-02-18 [email protected] doc: Update release instructions
2025-02-11 [email protected] [CVE-2025-24928] Fix stack-buffer-overflow in xmlSnprintfElements
2024-12-10 [email protected] [CVE-2024-56171] Fix use-after-free after xmlSchemaItemListAdd
2025-02-17 [email protected] fuzz: Stop testing xmllint --memory option
2025-02-17 [email protected] xmllint: Fix SIGBUS with --memory option
2025-02-13 [email protected] html: Use enum instead of magic values for insertion modes
2025-02-16 [email protected] fuzz: Fix build
2025-02-13 [email protected] Revert "xpath: Make contextSize and proximityPosition default to 1"
2025-02-13 [email protected] Revert "include: Make most IS_* macros private"
2025-02-13 [email protected] pattern: Fix compilation of explicit child axis
2025-02-13 [email protected] html: Stop implying <p> start tags
2025-02-13 [email protected] html: Make implied <p> tags more deterministic
2025-02-13 [email protected] malloc-fail: Check for malloc failure in xhtmlNodeDumpOutput
2025-02-11 [email protected] tests: Fix error return in testHugeEncodedChunk
2025-02-11 [email protected] fuzz: Work around glibc iconv() bug
2025-02-10 [email protected] xpath: Don't raise OOM error on long names
2025-02-05 [email protected] Use __has_attribute to check for __counted_by__ support
2025-02-06 [email protected] tests: Fix expected errors in runxmlconf
2025-02-05 [email protected] Fix early return in vstateVPush in valid.c
2025-02-02 [email protected] gitlab-ci: Disable cmake:mingw for now
2025-02-02 [email protected] Debug CI failure
2025-02-02 [email protected] dict: Handle ENOSYS from getentropy gracefully
2025-01-31 [email protected] fuzz: Improve HTML fuzzer
2025-02-01 [email protected] encoding: Handle iconv() returning EOPNOTSUPP on Apple
2025-02-01 [email protected] fuzz: Ignore encodings when fuzzing on Apple
2025-02-01 [email protected] fuzz: Disable HTML encoding detection for now
2025-02-01 [email protected] parser: Fix parsing of doctype declarations
2025-02-01 [email protected] html: Chunk text data in push parser
2025-02-01 [email protected] html: Make data parsing modes work with push parser
2025-02-01 [email protected] html: Simplify htmlParseTryOrFinish a little
2025-02-01 [email protected] html: Remove unused epilog state
2025-02-01 [email protected] html: Fix pull-parsing of incomplete end tags
2025-01-31 [email protected] html: Use htmlParseElementInternal in push parser
2025-01-31 [email protected] html: Fix corner case when push-parsing HTML5 comments
2025-01-31 [email protected] html: Handle incomplete UTF-8 when push-parsing
2025-02-01 [email protected] html: Adjust xmlDetectEncoding for HTML
2025-01-31 [email protected] html: Support encoding auto-detection in push parser
2025-01-31 [email protected] html: Fix state update in push parser
2025-01-31 [email protected] html: Fix push-parsing of empty documents
2025-01-31 [email protected] fuzz: Make large chunk size more likely
2025-01-31 [email protected] Fix typos
2025-01-31 [email protected] parser: Improve handling of NOCDATA option
2025-01-31 [email protected] parser: Improve handling of NOBLANKS option
2025-01-31 [email protected] parser: Document that XML_PARSE_NOBLANKS is broken
2025-01-30 [email protected] fuzz: Improve fuzzing of push parser
2025-01-31 [email protected] parser: Fix detection of ']]>' when push-parsing
2025-01-30 [email protected] parser: Document push parser limitations
2025-01-30 [email protected] xmllint: Make --push report parse errors
2025-01-30 [email protected] parser: Grow input buffer after lots of whitespace
2025-01-30 [email protected] parser: Always shrink input buffer
2025-01-30 [email protected] parser: Define SIZE_MAX
2025-01-29 [email protected] parser: Fix push parser with encoding and single chunk
2025-01-29 [email protected] Mention contributors in Copyright
2025-01-29 [email protected] README: Fix CMake example options
2025-01-29 [email protected] README: Add note about security issues
2025-01-29 [email protected] parser: Make catalog PIs opt-in
2025-01-28 [email protected] parser: Prepare to make decompression opt-in
2025-01-28 [email protected] xmllint: Support compressed input from stdin
2025-01-27 [email protected] uri: Fix handling of Windows drive letters
2025-01-25 [email protected] fuzz: Fix OSS-Fuzz build of lint fuzzer
2025-01-24 [email protected] meson: Fix setup with ICU as sibling subproject
2025-01-24 [email protected] encoding: Don't allow POSIX indicator suffixes in encoding names
2025-01-23 [email protected] fuzz: Fix comments
2025-01-22 [email protected] fuzz: Also test xmllint --repeat option
2025-01-22 [email protected] xmllint: Fix UAF with --push --repeat
2025-01-23 [email protected] tree: Fix variable name in xmlAddChild documentation
2025-01-22 [email protected] meson: Fix build with MSVC
2025-01-21 [email protected] meson: Fix build as subproject
2025-01-17 [email protected] xmllint: Improve error reports from reader
2025-01-17 [email protected] xmllint: Fix memory leak in parseAndPrintFile
2025-01-17 [email protected] xmllint: Always reuse parser context
2025-01-17 [email protected] xpath: Don't descend into OP_VALUE in debug dump
2025-01-17 [email protected] xmllint: Report OOM errors to stderr
2025-01-17 [email protected] fuzz: Check whether xmllint reports malloc failures correctly
2025-01-17 [email protected] fuzz: Remove hacks to build lint fuzzer
2025-01-17 [email protected] xmllint: Report malloc failures from parsing patterns
2025-01-17 [email protected] xmllint: Store error stream in global state
2025-01-17 [email protected] xmllint: Stop using global variables
2025-01-17 [email protected] schemas: Make ValidateStream take a const SAXHandler
2025-01-17 [email protected] xmllint: Fix memory leak in parseFile
2025-01-17 [email protected] xmllint: Fix memory leak in error case
2025-01-16 [email protected] encoding: Clean up UCS-4 encodings
2025-01-15 [email protected] reader: Fix return value of xmlTextReaderReadString again
2025-01-07 [email protected] xmllint: Make --shell ignore some other options
2025-01-07 [email protected] xmllint: Always reuse parser context
2025-01-04 [email protected] xmllint: Support --xpath --debug
2024-12-30 [email protected] xmllint: Use xmlXPathOrderDocElems for XPath queries
2025-01-03 [email protected] include: Use intptr_t to cast between pointers and ints
2025-01-03 [email protected] io: Don't cast file descriptors to pointers
2024-12-30 [email protected] malloc-fail: Fix memory leak in xmlValidateElementContent
2024-12-27 [email protected] gitlab-ci: Add --with-valid to medium config
2024-12-27 [email protected] valid: Remove duplicate error messages when streaming
2024-12-27 [email protected] valid: Fix build --without-regexps
2024-12-24 [email protected] automake: Only build testdso when testing
2024-12-26 [email protected] Regenerate docs and testapi.c
2024-12-26 [email protected] doc: Fix documentation
2024-12-26 [email protected] doc: Make apibuild.py work again
2024-12-26 [email protected] autotools: Set AC_CONFIG_AUX_DIR
2024-12-21 [email protected] io: Fix memory leaks of encoding handler in error cases
2024-12-21 [email protected] xinclude: Allow build without XPath
2024-12-19 [email protected] include: Make INPUT_CHUNK macro private
2024-12-19 [email protected] include: Make most IS_* macros private
2024-12-18 [email protected] valid: Fix and check return value of nodeVPush
2024-12-11 [email protected] malloc-fail: Handle more malloc failures in schema code
2024-12-21 [email protected] build: Set C standard with CMake and meson
2024-12-21 [email protected] meson: Set WITH_HTTP for config.cmake
2024-12-21 [email protected] meson: Add warning options
2024-12-16 [email protected] memory: Grow dynamic arrays by 50%
2024-12-15 [email protected] xpath: Check reallocations for overflow
2024-12-11 [email protected] schemas: Check reallocations for overflow
2024-12-15 [email protected] regexp: Check reallocations for overflow
2024-12-15 [email protected] xinclude: Check reallocations for overflow
2024-12-15 [email protected] valid: Check reallocations for overflow
2024-12-15 [email protected] uri: Check reallocations for overflow
2024-12-15 [email protected] tree: Check reallocations for overflow
2024-12-16 [email protected] pattern: Allocate arrays lazily
2024-12-15 [email protected] pattern: Check reallocations for overflow
2024-12-15 [email protected] entities: Check reallocations for overflow
2024-12-15 [email protected] encoding: Check reallocations for overflow
2024-12-15 [email protected] catalog: Check reallocations for overflow
2024-12-15 [email protected] c14n: Check reallocations for overflow
2024-12-15 [email protected] reader: Check reallocations for overflow
2024-12-15 [email protected] html: Check reallocations for overflow
2024-12-15 [email protected] parser: Check reallocations for overflow
2024-12-15 [email protected] memory: Implement xmlGrowCapacity to safely grow arrays
2024-12-21 [email protected] xpath: Make contextSize and proximityPosition default to 1
2024-12-21 [email protected] xpath: Remove non-standard xf:escape-uri function
2024-12-21 [email protected] xpath: Use separate static hash table for standard functions
2024-12-18 [email protected] save: Fix handling of catastrophic errors
2024-12-17 [email protected] fuzz: Inject IO failures into serialization code
2024-12-17 [email protected] save: Forward error from closing IO in xmlSaveFinish

Bug: 364568421
Change-Id: I304081929f21ea523643d01759200a5755ad86c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6455990
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: David Baron <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1451280}
NOKEYCHECK=True
GitOrigin-RevId: fb1eff511cff1ce7c52c4a71fa9ea17cb3349599
86 files changed