Go to file
Rhodri James 23b7f47ef6
Some checks failed
Ensure that GNU Autotools and CMake build systems agree / Ensure that GNU Autotools and CMake build systems agree (-DCMAKE_TOOLCHAIN_FILE=cmake/mingw-toolchain.cmake, --host=i686-w64-mingw32, ubuntu-20.04) (push) Has been cancelled
Ensure that GNU Autotools and CMake build systems agree / Ensure that GNU Autotools and CMake build systems agree (<nil>, <nil>, macos-10.15) (push) Has been cancelled
Ensure that GNU Autotools and CMake build systems agree / Ensure that GNU Autotools and CMake build systems agree (<nil>, <nil>, ubuntu-20.04) (push) Has been cancelled
Ensure realistic minimum CMake version requirement / Ensure realistic minimum CMake version requirement (push) Has been cancelled
Collect test coverage / Collect test coverage (push) Has been cancelled
Run Cppcheck (from macOS Homebrew) / Run Cppcheck (push) Has been cancelled
Check expat_config.h.{in,cmake} for regressions / Check expat_config.h.{in,cmake} for regressions (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CMAKE_ARGS=-DEXPAT_ATTR_INFO=ON, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CMAKE_ARGS=-DEXPAT_CONTEXT_BYTES=OFF, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CMAKE_ARGS=-DEXPAT_DTD=OFF, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CMAKE_ARGS=-DEXPAT_LARGE_SIZE=ON, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CMAKE_ARGS=-DEXPAT_MIN_SIZE=ON, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CMAKE_ARGS=-DEXPAT_NS=OFF, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=memory, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=undefined, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=gcc CXX=g++ LD=ld QA_PROCESSOR=gcov CMAKE_ARGS="-D_EXPAT_M32=ON -DEXPAT_ATTR_INFO=ON", qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=gcc CXX=g++ LD=ld QA_PROCESSOR=gcov CMAKE_ARGS=-D_EXPAT_M32=ON, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=gcc CXX=g++ LD=ld QA_PROCESSOR=gcov, qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ LD=i686-w64-mingw32-ld QA_PROCESSOR=gcov CMAKE_ARGS="-DCMAKE_SYSTEM_NAME=Windows -DWIN32=ON -DMINGW=ON -DEXPAT_ATTR_INFO=ON -DEXPAT_CHAR_TYPE=wchar_t", qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ LD=i686-w64-mingw32-ld QA_PROCESSOR=gcov CMAKE_ARGS="-DCMAKE_SYSTEM_NAME=Windows -DWIN32=ON -DMINGW=ON -DEXPAT_ATTR_INFO=ON", qa-sh) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (CMAKE_ARGS="-DEXPAT_ATTR_INFO=ON -DEXPAT_BUILD_FUZZERS=ON -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_CXX_FLAGS=-fsanitize=address -DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++", cmake-… (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (clang-format) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (cmake-oos) (push) Has been cancelled
Run Linux Travis CI tasks / Perform checks (distcheck) (push) Has been cancelled
Run macOS Travis CI tasks / Perform checks (CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address, qa-sh) (push) Has been cancelled
Run macOS Travis CI tasks / Perform checks (cmake-oos) (push) Has been cancelled
Run macOS Travis CI tasks / Perform checks (distcheck) (push) Has been cancelled
Ensure well-formed and valid XML / Ensure well-formed and valid XML (push) Has been cancelled
Ensure raw tagnames are safe exiting internalEntityParser
It is possible to concoct a situation in which parsing is
suspended while substituting in an internal entity, so that
XML_ResumeParser directly uses internalEntityProcessor as
its processor.  If the subsequent parse includes some unclosed
tags, this will return without calling storeRawNames to ensure
that the raw versions of the tag names are stored in memory other
than the parse buffer itself.  If the parse buffer is then changed
or reallocated (for example if processing a file line by line),
badness will ensue.

This patch ensures storeRawNames is always called when needed
after calling doContent.  The earlier call do doContent does
not need the same protection; it only deals with entity
substitution, which cannot leave unbalanced tags, and in any
case the raw names will be pointing into the stored entity
value not the parse buffer.
2022-10-07 02:02:01 +02:00
.github Sync file headers 2022-03-28 16:52:39 +02:00
expat Ensure raw tagnames are safe exiting internalEntityParser 2022-10-07 02:02:01 +02:00
testdata Fix typos and add ICPSR full name 2017-10-02 21:54:52 +02:00
.gitattributes Exclude test data directory from release archives 2017-11-16 22:34:34 +01:00
.gitignore .gitignore: Add missing 2022-01-29 23:28:05 +01:00
.mailmap Extend .mailmap 2022-02-15 21:23:25 +01:00
.travis.sh Sync file headers 2022-03-28 16:52:39 +02:00
appveyor.yml Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
Brewfile Actions: Split off Cppcheck to stop installing 13 unrelated Homebrew formulas 2021-04-06 23:52:35 +02:00