|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15262 openssl_pkcs7_verify segfaults (patch included...)
Submitted: 2002-01-28 16:35 UTC Modified: 2002-01-31 04:58 UTC
From: Assigned:
Status: Closed Package: OpenSSL related
PHP Version: 4.0CVS-2002-01-28 OS: debian unstable
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2002-01-28 16:35 UTC]
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)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-28 16:50 UTC]
mmmh, it's openssl_pkcs7_sign, not openssl_pkcs7_verify....

 [2002-01-31 04:58 UTC]
fixed in cvs by derick
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Apr 20 06:01:29 2021 UTC