libexpat
libexpat copied to clipboard
:herb: Fast streaming XML parser written in C99 with >90% test coverage; moved from SourceForge to GitHub
Fix for #612: ensure that m_tempPool is cleared out when abandoning parsing an attribute type
The existing fuzzers don't cover very much of the possible state, and they don't test the validity of any of the arguments passed to the callback functions, so I wrote...
Two fixes for minor issues, see the commit messages for explanations of the issues being fixed. An alternative fix for the memory leak would be to delay moving the tag...
Trying to upgrade to the latest version of expat using MSVC 2022, I find it impossible to link against expat, when compiled with the static runtime options. Here my cmake...
When DTD processing inside a parameter entity encounters a reference to an undefined entity, it will clear the `dtd->keepProcessing` flag but keep parsing. If `dtd->keepProcessing` is cleared between `XML_ROLE_ATTRIBUTE_ENUM_VALUE` and...
`internalEntityProcessor` only processes one open entity from the `parser->m_openInternalEntities` stack before going back to parsing from the input buffer. This means that when the parser is suspended while inside a...
I found that the XML parser characters detected as valid start and name characters within XML documents does not seem to be correct, so I put together a test where...
The autotools configuration allows to specify different absolute paths for various components: ./configure --prefix=/foo --includedir=/bar/include --libdir=/baz/lib This is a feature that we use in nixpkgs to separate runtime and development...
For readability of `configure.ac` move some long checks into external macro files. Specifically: support for the function `arc4random`; support for the function `getrandom`.