php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch 61413.diff for OpenSSL related Bug #61413

Patch version 2012-03-16 11:07 UTC

Return to Bug #61413 | Download this patch
Patch Revisions:

Developer: ab@php.net

Index: ext/openssl/openssl.c
===================================================================
--- ext/openssl/openssl.c	(Revision 324268)
+++ ext/openssl/openssl.c	(Arbeitskopie)
@@ -4677,7 +4677,7 @@
 	int data_len, method_len, password_len, iv_len = 0, max_iv_len;
 	const EVP_CIPHER *cipher_type;
 	EVP_CIPHER_CTX cipher_ctx;
-	int i, outlen, keylen;
+	int i = 0, outlen, keylen;
 	unsigned char *outbuf, *key;
 	zend_bool free_iv;
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 14:01:29 2024 UTC