diff options
Diffstat (limited to 'external')
-rw-r--r-- | external/libxml2/ubsan.patch.0 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libxml2/ubsan.patch.0 b/external/libxml2/ubsan.patch.0 index 234f66baddc2..b52259719673 100644 --- a/external/libxml2/ubsan.patch.0 +++ b/external/libxml2/ubsan.patch.0 @@ -5,7 +5,7 @@ stream = xmlPatterncompile(str, dict, XML_PATTERN_XPATH, - &namespaces[0]); -+ namespaces == NULL ? NULL : &namespaces[0]); ++ namespaces); // i.e., &namespaces[0] if namespaces != NULL if (namespaces != NULL) { xmlFree((xmlChar **)namespaces); } |