[libxml2] Allow FP division by zero in xmlXPathInit
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Allow FP division by zero in xmlXPathInit
- Date: Tue, 16 Mar 2021 09:54:04 +0000 (UTC)
commit 868e49cffdbfddeab0d1c391e0ce7f4f98ea59a1
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Tue Mar 16 10:36:04 2021 +0100
Allow FP division by zero in xmlXPathInit
xpath.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/xpath.c b/xpath.c
index 4b72cff5..7497ba07 100644
--- a/xpath.c
+++ b/xpath.c
@@ -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. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]