summaryrefslogtreecommitdiff
path: root/Zend/zend_strtod.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-07-21 11:52:56 +0800
committerXinchen Hui <laruence@gmail.com>2017-07-21 11:56:49 +0800
commit95d2908814585bd9c3c9a1eab4989bc551b6cc73 (patch)
tree086bcc059946073b8a7d19583c690e7caadc2e9c /Zend/zend_strtod.c
parentce066770697f767e05aba12b31fa7e0db6a8339e (diff)
downloadphp-git-95d2908814585bd9c3c9a1eab4989bc551b6cc73.tar.gz
Fixed bug #74947 (Segfault in scanner on INF number)
Diffstat (limited to 'Zend/zend_strtod.c')
-rw-r--r--Zend/zend_strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index d15048b7e5..9e4ff738b9 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -206,6 +206,8 @@ static void Bug(const char *message) {
#include "stdlib.h"
#include "string.h"
+#define NO_ERRNO
+
#ifdef USE_LOCALE
#include "locale.h"
#endif