Re: openssl_pkcs7_sign segfaults. patch included
| From: | Derick Rethans | Date: | Thu, 31 Jan 2002 09:57:38 +0000 |
| Subject: | Re: openssl_pkcs7_sign segfaults. patch included | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78673@lists.php.net to get a copy of this message | ||
Hello,
On Thu, 31 Jan 2002, Christian Stocker wrote:
> Could someone with enough karma fix the following bug in
> ext/openssl/openssl.c in the openssl_pkcs7_sign function
done.
Derick
> Index: openssl.c
> ===================================================================
> RCS file: /repository/php4/ext/openssl/openssl.c,v
> retrieving revision 1.39
> diff -u -r1.39 openssl.c
> --- openssl.c 11 Dec 2001 15:30:00 -0000 1.39
> +++ openssl.c 28 Jan 2002 21:35:06 -0000
> @@ -2151,7 +2151,7 @@
> char * extracertsfilename = NULL; long extracertsfilename_len;
>
> if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sszza!|ls",
> - &infilename, &infilename_len, *outfilename,
> &outfilename_len,
> + &infilename, &infilename_len, &outfilename,
> &outfilename_len,
> &zcert, &zprivkey, &zheaders, &flags,
> &extracertsfilename,
> &extracertsfilename_len) == FAILURE)
> return;
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - derick@php.net
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------