From: Operating system: Windows PHP version: 5.3SVN-2011-07-28 (SVN) Package: Reproducible crash Bug Type: Bug Bug description:Function get_ldap_option() causes crash.
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 bug report at https://bugs.php.net/bug.php?id=55306&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55306&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55306&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55306&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55306&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55306&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55306&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55306&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55306&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55306&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55306&r=support Expected behavior: https://bugs.php.net/fix.php?id=55306&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55306&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55306&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55306&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55306&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55306&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55306&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55306&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55306&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55306&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55306&r=mysqlcfg
