|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27053 Sybase does not allow empty password
Submitted: 2004-01-26 18:35 UTC Modified: 2004-01-26 18:54 UTC
From: php at dima dot spb dot ru Assigned:
Status: Not a bug Package: Sybase (dblib) related
PHP Version: 4.3.4 OS: RedHat 9
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.
Block user comment
Status: Assign to:
Bug Type:
From: php at dima dot spb dot ru
New email:
PHP Version: OS:


 [2004-01-26 18:35 UTC] php at dima dot spb dot ru
// $Id: sybase.php,v 1.13 2003/09/07 10:55:51 cox Exp $

line 99

        if ($interface && $user && $pw) {
            $conn = $connect_function($interface, $user, $pw);
        } else {
            $conn = FALSE;

the check of $pw in the 'if' expression effectively disables using account with empty password. These are valid for MSSQL

Expected result:
it should connects normally

Actual result:
reports 'connection failed'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-26 18:54 UTC]
This is a pear related bug, please file it at as it has nothing to do with the PHP source itself.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 05:01:31 2024 UTC