com php-src: Fixed bug #68945 (Unknown admin values segfault pools): sapi/fpm/fpm/fpm_php.c
| From: | Xinchen Hui | Date: | Fri, 30 Jan 2015 03:01:42 +0000 |
| Subject: | com php-src: Fixed bug #68945 (Unknown admin values segfault pools): sapi/fpm/fpm/fpm_php.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84446@lists.php.net to get a copy of this message | ||
Commit: 88e13bda6af610a3d4acfdc2992d600002ebd287
Author: Xinchen Hui <laruence@php.net> Fri, 30 Jan 2015 11:01:42 +0800
Parents: 2505aea1535ad2dfd9254939c9c1bbde3085e125
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=88e13bda6af610a3d4acfdc2992d600002ebd287
Log:
Fixed bug #68945 (Unknown admin values segfault pools)
Bugs:
https://bugs.php.net/68945
Changed paths:
M sapi/fpm/fpm/fpm_php.c
Diff:
diff --git a/sapi/fpm/fpm/fpm_php.c b/sapi/fpm/fpm/fpm_php.c
index ee23e30..6dc99d0 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;
}