commit | 868e49cffdbfddeab0d1c391e0ce7f4f98ea59a1 | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Tue Mar 16 10:36:04 2021 +0100 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Tue Mar 16 10:36:04 2021 +0100 |
tree | 088bc7f83186952e75244ed426fe703d4286b7b1 | |
parent | d25460da14cd31ab807c77580da5a8efcacae97b [diff] |
Allow FP division by zero in xmlXPathInit
diff --git a/xpath.c b/xpath.c index 4b72cff..7497ba0 100644 --- a/xpath.c +++ b/xpath.c
@@ -497,6 +497,7 @@ * * Initialize the XPath environment */ +ATTRIBUTE_NO_SANITIZE("float-divide-by-zero") void xmlXPathInit(void) { /* MSVC doesn't allow division by zero in constant expressions. */