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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC