cvs: php4(PHP_4_0_7) /ext/mcrypt mcrypt.c

From: Date: Tue, 25 Dec 2001 16:31:44 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/mcrypt mcrypt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8816@lists.php.net to get a copy of this message
derick Tue Dec 25 11:31:44 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/mcrypt mcrypt.c Log: - Fix for bug 14691: Invalidate mcrypt resource if the key size is 0 Index: php4/ext/mcrypt/mcrypt.c diff -u php4/ext/mcrypt/mcrypt.c:1.57.2.10 php4/ext/mcrypt/mcrypt.c:1.57.2.11 --- php4/ext/mcrypt/mcrypt.c:1.57.2.10 Mon Dec 17 15:23:38 2001 +++ php4/ext/mcrypt/mcrypt.c Tue Dec 25 11:31:44 2001 @@ -478,6 +478,7 @@ if (Z_STRLEN_PP(key) == 0) { php_error (E_WARNING, "key size is 0"); + zend_list_delete (Z_LVAL_PP(mcryptind)); RETURN_FALSE; }

« previous php.cvs (#8816) next »