php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77462 LDAPBIND crashes to OS
Submitted: 2019-01-15 14:00 UTC Modified: 2019-01-15 17:33 UTC
From: adrian dot burla at gmail dot com Assigned:
Status: Duplicate Package: LDAP related
PHP Version: 7.2.14 OS: Windows
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: adrian dot burla at gmail dot com
New email:
PHP Version: OS:

 

 [2019-01-15 14:00 UTC] adrian dot burla at gmail dot com
Description:
------------
LDAPBIND causes the script to crash to OS. Sample code below. It works as expected in all previous versions of PHP 7.2.x, 7.1.x, 7.0.x etc. Not tested with 7.3.1.

Test script:
---------------
$ldapconn = ldap_connect('ldaps://my.ldap.url');
if ($ldapconn) {
    try {		
        $ldapbind = ldap_bind($ldapconn, 'myuser', 'mypass');
	echo 'This is never displayed';
    } catch (Exception $e) {
        echo 'This never gets displayed';
    }
}




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-01-15 17:33 UTC] ab@php.net
-Status: Open +Status: Duplicate
 [2019-01-15 17:33 UTC] ab@php.net
Please check bug #77440 and give feedback there.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 12:01:28 2024 UTC