Edit report at https://bugs.php.net/bug.php?id=55306&edit=1
ID: 55306 Updated by: [email protected] Reported by: tomcdonnell at gmail dot com Summary: Function get_ldap_option() causes crash. -Status: Feedback +Status: No Feedback Type: Bug Package: Reproducible crash Operating System: Windows PHP Version: 5.3SVN-2011-07-28 (SVN) New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2011-07-29 01:13:05] [email protected] 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. ------------------------------------------------------------------------ [2011-07-28 05:07:35] 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' ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55306&edit=1
