php.net |  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: chregu@php.net Assigned:
Status: Closed Package: OpenSSL related
PHP Version: 4.0CVS-2002-01-28 OS: debian unstable
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chregu@php.net
New email:
PHP Version: OS:

 

 [2002-01-28 16:35 UTC] chregu@php.net
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;

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

chregu
 [2002-01-31 04:58 UTC] chregu@php.net
fixed in cvs by derick
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Dec 04 18:01:23 2020 UTC