openssl_pkcs7_sign segfaults. patch included

From: Date: Thu, 31 Jan 2002 09:45:21 +0000
Subject: openssl_pkcs7_sign segfaults. patch included
Groups: php.dev 
Request: Send a blank email to php-dev+get-78669@lists.php.net to get a copy of this message
Could someone with enough karma fix the following bug in ext/openssl/openssl.c in the openssl_pkcs7_sign function thanks chregu 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;

« previous php.dev (#78669) next »