Commit 5c9abbf831beb25aa0724a694e1014b13bcca5da

Nick Wellnhofer 2024-12-09T17:17:32

SAX2: Fix xmlSAX2ResolveEntity if systemId is NULL Passing a NULL systemId results in snprintf("%s", NULL) which crashes on some platforms. Regressed with commit 4ff2dccf. Note that systemId should never be NULL during normal parsing. It can only be NULL if API functions are called with a NULL systemId. Should fix #825.