cvs: php-src(PHP_5_2) /ext/openssl openssl.c

From: Date: Mon, 09 Oct 2006 00:04:10 +0000
Subject: cvs: php-src(PHP_5_2) /ext/openssl openssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41014@lists.php.net to get a copy of this message
pajoye Mon Oct 9 00:04:10 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/openssl openssl.c Log: - fix possible segfault (see test 004) always exists and returns NULL on error http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.98.2.5.2.21&r2=1.98.2.5.2.22&diff_format=u Index: php-src/ext/openssl/openssl.c diff -u php-src/ext/openssl/openssl.c:1.98.2.5.2.21 php-src/ext/openssl/openssl.c:1.98.2.5.2.22 --- php-src/ext/openssl/openssl.c:1.98.2.5.2.21 Sat Sep 16 12:05:12 2006 +++ php-src/ext/openssl/openssl.c Mon Oct 9 00:04:10 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: openssl.c,v 1.98.2.5.2.21 2006/09/16 12:05:12 nlopess Exp $ */ +/* $Id: openssl.c,v 1.98.2.5.2.22 2006/10/09 00:04:10 pajoye Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1890,8 +1890,8 @@ #define TMP_CLEAN \ if (Z_TYPE(tmp) == IS_STRING) {\ zval_dtor(&tmp); \ - return NULL; \ - } + } \ + return NULL; if (resourceval) { *resourceval = -1;

« previous php.cvs (#41014) next »