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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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