com php-src: fix newly introduced segfault: ext/mysqlnd/mysqlnd _auth.c

From: Date: Tue, 16 Oct 2012 13:06:02 +0000
Subject: com php-src: fix newly introduced segfault: ext/mysqlnd/mysqlnd _auth.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-70402@lists.php.net to get a copy of this message
Commit: b0e8fb6489f7aa65aeaae6198a3dd81574f1ebcd Author: Andrey Hristov <andrey@php.net> Tue, 16 Oct 2012 15:06:02 +0200 Parents: ccf749e38d1c05ab50d30781b47e55786d571585 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b0e8fb6489f7aa65aeaae6198a3dd81574f1ebcd Log: fix newly introduced segfault Changed paths: M ext/mysqlnd/mysqlnd_auth.c Diff: diff --git a/ext/mysqlnd/mysqlnd_auth.c b/ext/mysqlnd/mysqlnd_auth.c index 3cae693..cdbdf6d 100644 --- a/ext/mysqlnd/mysqlnd_auth.c +++ b/ext/mysqlnd/mysqlnd_auth.c @@ -555,8 +555,8 @@ mysqlnd_sha256_get_rsa_key(MYSQLND_CONN_DATA * conn, DBG_INF_FMT("Public key:%*.s", len, key_str); efree(key_str); } + php_stream_free(stream, PHP_STREAM_FREE_CLOSE); } - php_stream_free(stream, PHP_STREAM_FREE_CLOSE); } DBG_RETURN(ret); }

« previous php.cvs (#70402) next »