php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1526 php3_crypt() always uses 2 characters salt when it called without salt
Submitted: 1999-06-11 07:30 UTC Modified: 1999-06-11 08:18 UTC
From: eiji at papanui dot ddt dot or dot jp Assigned:
Status: Closed Package: Other
PHP Version: 3.0.9 OS: FreeBSD 2.2.7R
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: eiji at papanui dot ddt dot or dot jp
New email:
PHP Version: OS:

 

 [1999-06-11 07:30 UTC] eiji at papanui dot ddt dot or dot jp
php3_crypt() in crypt.c always uses 2 characters salt
when it called without salt, even if PHP3_STD_DES_CRYPT
is defined to '0' and PHP3_MD5_CRYPT is defined to
'1' in config.h.

To fix this problem, change
    #ifdef PHP3_STD_DES_CRYPT
to
    #if PHP3_STD_DES_CRYPT

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-11 08:18 UTC] rasmus at cvs dot php dot net
Fixed in CVS, thanks.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 07:00:01 2026 UTC