php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55306 Function get_ldap_option() causes crash.
Submitted: 2011-07-28 05:07 UTC Modified: 2013-02-18 00:34 UTC
From: tomcdonnell at gmail dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.3SVN-2011-07-28 (SVN) OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-07-28 05:07 UTC] tomcdonnell at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ldap-get-option%23Parameters
---

If the test script I have supplied is run from the command line in windows, a popup window appears with the following message.

'CLI has encountered a problem and needs to close.  We are sorry for the inconvenience'

If the test script I have supplied is run from a web browser (Firefox 5.0), a similar popup window appears informing that

'Apache HTTP Server has encountered a problem and needs to close.  We are sorry for the inconvenience'

Test script:
---------------
<?php
$ldapLinkId  = @ldap_connect(null, null);
$optionValue = null;
ldap_get_option($ldapLinkId, LDAP_OPT_NETWORK_TIMEOUT, $optionValue);
?>

Expected result:
----------------
If the test script I have supplied is run from the command line in windows, a popup window appears with the following message.

'CLI has encountered a problem and needs to close.  We are sorry for the inconvenience'

If the test script I have supplied is run from a web browser (Firefox 5.0), a similar popup window appears informing that

'Apache HTTP Server has encountered a problem and needs to close.  We are sorry for the inconvenience'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-29 01:13 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2011-07-29 01:13 UTC] felipe@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC