Bug #15262: openssl_pkcs7_verify segfaults (patch included...)
| From: | chregu@php.net | Date: | Mon, 28 Jan 2002 21:35:33 +0000 |
| Subject: | Bug #15262: openssl_pkcs7_verify segfaults (patch included...) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78344@lists.php.net to get a copy of this message | ||
From: chregu@php.net
Operating system: debian unstable
PHP version: 4.0CVS-2002-01-28
PHP Bug Type: OpenSSL related
Bug description: openssl_pkcs7_verify segfaults (patch included...)
Not much to say. subject says it all. see patch.
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;
--
Edit bug report at: http://bugs.php.net/?id=15262&edit=1