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

Reply via email to