diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2021-03-16 10:36:04 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2021-03-16 10:36:04 +0100 |
commit | 868e49cffdbfddeab0d1c391e0ce7f4f98ea59a1 (patch) | |
tree | 088bc7f83186952e75244ed426fe703d4286b7b1 | |
parent | d25460da14cd31ab807c77580da5a8efcacae97b (diff) | |
download | libxml2-868e49cffdbfddeab0d1c391e0ce7f4f98ea59a1.tar.gz |
Allow FP division by zero in xmlXPathInit
-rw-r--r-- | xpath.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -497,6 +497,7 @@ double xmlXPathNINF; * * Initialize the XPath environment */ +ATTRIBUTE_NO_SANITIZE("float-divide-by-zero") void xmlXPathInit(void) { /* MSVC doesn't allow division by zero in constant expressions. */ |