commit | bfd2f4300fb348a0fb8265a17546a0eb8bdec719 | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Sun May 09 18:56:57 2021 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Sun May 09 19:03:16 2021 +0200 |
tree | 8e710ff0f5c7548f920c309c8f4380b7ed7cd0f4 | |
parent | ce00c36e654f0a5291d48bc437e807daecbd8449 [diff] |
Fix null deref in legacy SAX1 parser Always call nameNsPush instead of namePush. The latter is unused now and should probably be removed from the public API. I can't see how it could be used reasonably from client code and the unprefixed name has always polluted the global namespace. Fixes a null pointer dereference introduced with de5b624f when parsing in SAX1 mode. Found by OSS-Fuzz.