Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_CFXMLInterface: account for possible
nullptr
return
`xmlSplitQName2` may return `nullptr` for the result, which when passed to `CFStringCreateWithCString` would attempt to perform `strlen(nullptr)` which is ill-defined. When updating libxml2 on Windows, we would perform an invalid memory access due to the `strlen` invocation inside `CFStringCreateWithCString`. Protect against this case, returning `NULL` instead.
- Loading branch information