From 88e13bda6af610a3d4acfdc2992d600002ebd287 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 30 Jan 2015 11:01:42 +0800 Subject: [PATCH] Fixed bug #68945 (Unknown admin values segfault pools) --- sapi/fpm/fpm/fpm_php.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/fpm/fpm/fpm_php.c b/sapi/fpm/fpm/fpm_php.c index ee23e3010d..6dc99d04c9 100644 --- a/sapi/fpm/fpm/fpm_php.c +++ b/sapi/fpm/fpm/fpm_php.c @@ -28,7 +28,7 @@ static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_ zend_ini_entry *ini_entry; zend_string *duplicate; - if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length))) { + if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), name, name_length)) == NULL) { return FAILURE; } -- 2.50.0