Roll libxml from 88447447 to b8961a75

Most of these commits were originally rolled in http://crrev.com/1201233
but were then reverted in http://crrev.com/1202243. This roll includes
all of the reverted commits with additional new ones which fix the
regression that the original roll was reverted for.

2023-09-27 wellnhofer@aevum.de parser: Fix reinitialization
2023-09-10 chewi@gentoo.org cmake: Only use pkg-config for .pc files, not for building binaries
2023-09-10 chewi@gentoo.org cmake: Check whether static linking dependencies found in config files
2023-09-10 chewi@gentoo.org cmake: Find threads dep early as it may be needed for later checks
2023-09-22 wellnhofer@aevum.de malloc-fail: Report malloc failure in xmlRegEpxFromParse
2023-09-22 wellnhofer@aevum.de doc: Update MAINTAINERS and NEWS
2023-09-22 wellnhofer@aevum.de doc: Don't document internal macros in xmlversion.h
2023-09-22 wellnhofer@aevum.de parser: Simplify xmlStringCurrentChar
2023-09-22 wellnhofer@aevum.de regexp: Fix status codes and handle invalid UTF-8
2023-09-22 wellnhofer@aevum.de regexp: Add missing include
2023-09-22 wellnhofer@aevum.de globals: Don't use thread-local storage on Darwin
2023-09-21 wellnhofer@aevum.de error: Make xmlGetLastError return a const error
2023-09-21 wellnhofer@aevum.de memory: Fix memory debugging with Windows threads
2023-09-21 wellnhofer@aevum.de tests: Update testapi.c
2023-09-21 wellnhofer@aevum.de doc: Make apibuild.py happy
2023-09-21 wellnhofer@aevum.de doc: Allow 'unsigned' without 'int'
2023-09-21 wellnhofer@aevum.de doc: Add ignored tokens to apibuild.py
2023-09-21 wellnhofer@aevum.de python: Fix tests
2023-09-21 wellnhofer@aevum.de globals: Fix build --with-threads --without-output
2023-09-21 wellnhofer@aevum.de html: Fix logic in htmlAutoClose
2023-09-21 wellnhofer@aevum.de xmlreader: Fix EOF detection in xmlTextReaderPushData
2023-09-21 wellnhofer@aevum.de python: Fix potential crash in tests/thread2.py
2023-09-21 wellnhofer@aevum.de parser: Readd some includes to parser.h and xmlreader.h
2023-09-16 wellnhofer@aevum.de hash: Clean up libxml/hash.h
2023-09-21 wellnhofer@aevum.de autotools: Make --with-minimum disable lzma support
2023-09-21 wellnhofer@aevum.de fuzz: Allow to fuzz without push, reader or output modules
2023-09-21 wellnhofer@aevum.de gitlab-ci: Add a "medium" config build
2023-09-21 wellnhofer@aevum.de build: Remove some GCC warnings
2023-09-21 wellnhofer@aevum.de build: Fix build when certain modules are disabled
2023-09-21 wellnhofer@aevum.de include: Remove more unnecessary includes
2023-09-20 wellnhofer@aevum.de globals: Final fixes
2023-09-20 wellnhofer@aevum.de globals: Move remaining declarations to correct places
2023-09-20 wellnhofer@aevum.de include: Remove unneeded includes
2023-09-20 wellnhofer@aevum.de include: Break inclusion cycle between tree.h and xmlregexp.h
2023-09-20 wellnhofer@aevum.de globals: Stop including globals.h
2023-09-20 wellnhofer@aevum.de globals: Move remaining globals back to correct header files
2023-09-20 wellnhofer@aevum.de include: Remove unnecessary includes
2023-09-20 wellnhofer@aevum.de globals: Move error globals back to xmlerror.c
2023-09-20 wellnhofer@aevum.de globals: Move malloc hooks back to xmlmemory.h
2023-09-20 wellnhofer@aevum.de globals: Don't include SAX2.h from globals.h
2023-09-20 wellnhofer@aevum.de globals: Don't store xmlParserVersion in global state
2023-09-20 wellnhofer@aevum.de globals: Deprecate xmlLastError
2023-09-20 wellnhofer@aevum.de parser: Deprecate global parser options
2023-09-20 wellnhofer@aevum.de tests: Don't use deprecated symbols
2023-09-20 wellnhofer@aevum.de xmllint: Don't set deprecated globals
2023-09-20 wellnhofer@aevum.de globals: Abort if lazy allocation of global state failed
2023-09-20 wellnhofer@aevum.de globals: Reformat libxml/globals.h
2023-09-20 wellnhofer@aevum.de globals: Move buffer callback declarations to xmlIO.h
2023-09-20 wellnhofer@aevum.de globals: Move xmlRegisterNodeDefault to tree.c
2023-09-20 wellnhofer@aevum.de globals: Add a few comments
2023-09-19 wellnhofer@aevum.de threads: Fix double-checked locking in xmlInitParser
2023-09-19 wellnhofer@aevum.de globals: Move xmlIsMainThread to globals.c
2023-09-19 wellnhofer@aevum.de globals: Use thread-local storage if available
2023-09-18 wellnhofer@aevum.de globals: Rework global state destruction on Windows
2023-09-18 wellnhofer@aevum.de globals: Define globals using macros
2023-09-18 wellnhofer@aevum.de globals: Introduce xmlCheckThreadLocalStorage
2023-09-18 wellnhofer@aevum.de globals: Make xmlGlobalState private
2023-09-18 wellnhofer@aevum.de threads: Move library initialization code to threads.c
2023-09-18 wellnhofer@aevum.de debug: Remove debugging code
2023-09-18 wellnhofer@aevum.de globals: Move code from threads.c to globals.c
2023-09-17 wellnhofer@aevum.de globals: Rename members of xmlGlobalState
2023-09-14 wellnhofer@aevum.de parser: Avoid undefined behavior in xmlParseStartTag2
2023-09-14 wellnhofer@aevum.de schemas: Fix memory leak of annotations in notations
2023-09-09 markus.rickert@uni-bamberg.de Handle NOCONFIG case when setting locations from CMake target properties
2023-09-08 wellnhofer@aevum.de xinclude: Fix 'last' pointer in xmlXIncludeCopyNode
2023-09-03 chewi@gentoo.org cmake: Generate better pkg-config file for SYSROOT builds under CMake
2023-09-04 chewi@gentoo.org autoconf: Include non-pkg-config dependency flags in the pkg-config file
2023-09-04 chewi@gentoo.org autoconf: Don't bake build time CFLAGS into pkg-config file
2023-09-04 wellnhofer@aevum.de hash: Fix use-of-uninitialized-value
2023-09-04 wellnhofer@aevum.de dict: Stop using uint32_t
2023-09-04 wellnhofer@aevum.de dict: Fix integer overflow of string lengths
2023-09-04 wellnhofer@aevum.de dict: Update hash function
2023-09-02 chewi@gentoo.org build: Generate better pkg-config files for static-only builds
2023-09-02 chewi@gentoo.org build: Generate better pkg-config file for SYSROOT builds
2023-09-01 wellnhofer@aevum.de autoconf: Allow custom --with-icu configure option
2023-09-01 wellnhofer@aevum.de dict: Use thread-local storage for PRNG state
2023-09-01 wellnhofer@aevum.de dict: Use xoroshiro64** as PRNG
2023-09-01 wellnhofer@aevum.de dict: Tune hash table growth
2023-09-01 wellnhofer@aevum.de hash: Fix integer overflow of nbElems
2023-08-29 wellnhofer@aevum.de xmllint: Fix more error messages
2023-08-29 wellnhofer@aevum.de xmllint: Fix error message when push parsing empty documents
2023-08-29 wellnhofer@aevum.de parser: More fixes to push parser error handling
2023-08-29 wellnhofer@aevum.de parser: Fix detection of null bytes
2023-08-29 wellnhofer@aevum.de parser: Improve error handling in push parser
2023-08-29 wellnhofer@aevum.de parser: Don't check inputNr in xmlParseTryOrFinish
2023-08-29 wellnhofer@aevum.de parser: Remove push parser debugging code
2023-08-27 wellnhofer@aevum.de SAX2: Allow multiple top-level elements
2023-08-23 wellnhofer@aevum.de tree: Fix copying of DTDs
2023-08-21 wellnhofer@aevum.de doc: Improve documentation of configuration options
2023-08-20 wellnhofer@aevum.de legacy: Add stubs for disabled modules
2023-08-20 wellnhofer@aevum.de parser: Allow to set maximum amplification factor
2023-08-16 wellnhofer@aevum.de entities: Don't change doc when encoding entities
2023-08-16 wellnhofer@aevum.de parser: Revert change to doc->encoding
2023-08-16 wellnhofer@aevum.de parser: Never use UTF-8 encoding handler
2023-08-16 wellnhofer@aevum.de encoding: Remove debugging code
2023-08-15 wellnhofer@aevum.de python: Fix tests on MinGW
2023-08-14 wellnhofer@aevum.de malloc-fail: Fix unsigned integer overflow in xmlTextReaderPushData
2023-08-14 wellnhofer@aevum.de html: Remove encoding hack in htmlCreateFileParserCtxt
2023-08-09 wellnhofer@aevum.de html: Fix UAF in htmlCurrentChar
2023-08-09 wellnhofer@aevum.de parser: Fix mistake in xmlDetectEncoding
2023-08-09 wellnhofer@aevum.de parser: Update line number after coalescing text nodes
2023-08-08 wellnhofer@aevum.de parser: Check for truncated multi-byte sequences
2023-08-08 wellnhofer@aevum.de parser: Decode all data in xmlCharEncInput
2023-08-08 wellnhofer@aevum.de parser: Stream data when reading from memory
2023-08-08 wellnhofer@aevum.de parser: Optimize xmlLoadEntityContent
2023-08-08 wellnhofer@aevum.de parser: Don't overwrite EOF parser state
2023-08-08 wellnhofer@aevum.de parser: Simplify input pointer updates
2023-08-08 wellnhofer@aevum.de parser: Don't reinitialize parser input members
2023-08-08 wellnhofer@aevum.de encoding: Move rawconsumed accounting to xmlCharEncInput
2023-08-08 wellnhofer@aevum.de test: Add push parser test with overridden encoding
2023-08-08 wellnhofer@aevum.de parser: Rework encoding detection
2023-08-08 wellnhofer@aevum.de parser: Always create UTF-8 in xmlParseReference
2023-08-08 wellnhofer@aevum.de parser: Don't use 'standalone' member of xmlParserInput
2023-08-08 wellnhofer@aevum.de parser: Don't detect encoding in xmlCtxtResetPush
2023-08-08 wellnhofer@aevum.de html: Remove some debugging code in htmlParseTryOrFinish
2023-08-03 wellnhofer@aevum.de valid: Fix c1->parent pointer in xmlCopyDocElementContent
2023-07-21 wellnhofer@aevum.de malloc-fail: Fix memory leak in xmlCompileAttributeTest
2023-07-20 wellnhofer@aevum.de parser: Fix potential use-after-free in xmlParseCharDataInternal

Bug: 934413, 1486929
Change-Id: I350111a31829b55bc64e259cd13fff82be8f08f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4900984
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1202790}
NOKEYCHECK=True
GitOrigin-RevId: 226b802de894b285092e927f243ec0ad0ec2ac9c
87 files changed