com php-src: Attempt to fix #69643: ext/curl/interface.c

From: Date: Thu, 28 May 2015 16:03:19 +0000
Subject: com php-src: Attempt to fix #69643: ext/curl/interface.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86975@lists.php.net to get a copy of this message
Commit: 50e08d60b66d7cdc47f61fbe73b7ebfea8da0acc Author: Xinchen Hui <laruence@php.net> Fri, 29 May 2015 00:03:19 +0800 Parents: 0437aa2abf1eb494e4555d7d4dfbdbf566a59bdc Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=50e08d60b66d7cdc47f61fbe73b7ebfea8da0acc Log: Attempt to fix #69643 Bugs: https://bugs.php.net/69643 Changed paths: M ext/curl/interface.c Diff: diff --git a/ext/curl/interface.c b/ext/curl/interface.c index e0b9176..6e76ba8 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -2562,9 +2562,9 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{ * use since curl needs a long not an int. */ form_error = curl_formadd(&first, &last, CURLFORM_COPYNAME, string_key->val, - CURLFORM_NAMELENGTH, (zend_long)string_key->len, + CURLFORM_NAMELENGTH, string_key->len, CURLFORM_COPYCONTENTS, postval->val, - CURLFORM_CONTENTSLENGTH, (zend_long)Z_STRLEN_P(current), + CURLFORM_CONTENTSLENGTH, postval->len, CURLFORM_END); if (form_error != CURL_FORMADD_OK) {

« previous php.cvs (#86975) next »