php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4245 mcrypt will segfault when key is not given (or empty)
Submitted: 2000-04-26 05:45 UTC Modified: 2000-07-27 17:22 UTC
From: wico at cnh dot nl Assigned: derick (profile)
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (26/04/2000) OS: linux
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: wico at cnh dot nl
New email:
PHP Version: OS:

 

 [2000-04-26 05:45 UTC] wico at cnh dot nl
mcrypt will segfault when key is not given (or empty)

i know you're supposed to give a key, but the var was empty and i spend an hour to find what was crashing php

So i thought that it should complain an not crash  
(i wish humans would do that to :)

Greetz, wico

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 16:22 UTC] derick@php.net
I noticed this myself too, I am now partly rewriting this module and I'll check if it's realy because the key is empty.

Please try the latest version (4.0.1pl2), see if the problem still exists and let us now.
 [2000-07-27 17:22 UTC] derick@php.net
I can't reproduce this bug, at least not with mcrypt 2.2.7 or 2.4.4 and the latest CVS (27/07/2000) build.

If you encounter this bug again, please reopen this bug report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 16:00:01 2026 UTC