com php-src: Fixed bug #69831 (Segmentation fault in curl_getinfo): NEWS ext/curl/interface.c

From: Date: Sun, 14 Jun 2015 15:10:21 +0000
Subject: com php-src: Fixed bug #69831 (Segmentation fault in curl_getinfo): NEWS ext/curl/interface.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87260@lists.php.net to get a copy of this message
Commit: b7e477a8f9096d35360e23224849e70947eaefec Author: Xinchen Hui <laruence@php.net> Sun, 14 Jun 2015 23:10:21 +0800 Parents: f1ae57f155438d8aacbae7cebb5e244b7f9cfc58 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b7e477a8f9096d35360e23224849e70947eaefec Log: Fixed bug #69831 (Segmentation fault in curl_getinfo) Bugs: https://bugs.php.net/69831 Changed paths: M NEWS M ext/curl/interface.c Diff: diff --git a/NEWS b/NEWS index f630dad..538c38b 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,10 @@ PHP NEWS . Fixed Bug #69796 (mysqli_stmt::fetch doesn't assign null values to bound variables). (Laruence); +- Curl: + . Fixed bug #69831 (Segmentation fault in curl_getinfo). (im dot denisenko at + yahoo dot com) + - PDO_pgsql: . Fixed bug #69752 (PDOStatement::execute() leaks memory with DML Statements when closeCuror() is u). (Philip Hofstetter) diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 6e76ba8..cae8c46 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -3008,7 +3008,7 @@ PHP_FUNCTION(curl_getinfo) } #endif if (ch->header.str) { - CAASTR("request_header", ch->header.str); + CAASTR("request_header", zend_string_copy(ch->header.str)); } } else { switch (option) {

« previous php.cvs (#87260) next »