File php-CVE-2017-11628.patch of Package php7.15211
X-Git-Url: http://72.52.91.13:8000/?p=php-src.git;a=blobdiff_plain;f=Zend%2Fzend_ini_parser.y;h=f25258108150a7d2e57e0e3c2229a473119e80d7;hp=e83f02f98338e408e2fcea5a48344958e91b35ed;hb=05255749139b3686c8a6a58ee01131ac0047465e;hpb=73cabfedf519298e1a11192699f44d53c529315e diff --git a/Zend/zend_ini_parser.y b/Zend/zend_ini_parser.y index e83f02f..f252581 100644 --- a/Zend/zend_ini_parser.y +++ b/Zend/zend_ini_parser.y @@ -55,7 +55,7 @@ static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) int i_result; int i_op1, i_op2; int str_len; - char str_result[MAX_LENGTH_OF_LONG]; + char str_result[MAX_LENGTH_OF_LONG+1]; i_op1 = atoi(Z_STRVAL_P(op1)); zend_string_free(Z_STR_P(op1));