Bug #53899 [NEW]: SoapClient invalid wsdl crashes php with file error_log active
| From: | serge at mch dot be | Date: | Tue, 01 Feb 2011 09:01:13 +0000 |
| Subject: | Bug #53899 [NEW]: SoapClient invalid wsdl crashes php with file error_log active | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-158389@lists.php.net to get a copy of this message | ||
From:
Operating system: Windows Server 2003 R3
PHP version: 5.3.5
Package: SOAP related
Bug Type: Bug
Bug description:SoapClient invalid wsdl crashes php with file error_log active
Description:
------------
See :
http://bugs.php.net/bug.php?id=48706
SoapClient crashes the PHP when invalid wsdl_url is used and file php log
output is configured in the php.ini.
Test script:
---------------
PHP code:
<?php
new SoapClient('http://example.com');
?>
php.ini-dist and php.ini changes:
--- C:/php5/php.ini-dist
+++ C:/php5/php.ini
-log_errors = Off
+log_errors = On
-;error_log = filename
+error_log = c:/php_log
-;extension=php_soap.dll
+extension=php_soap.dll
Expected result:
----------------
SoapFault Exception should be thrown.
Actual result:
--------------
FastCGI Error (Error 500)
--
Edit bug report at http://bugs.php.net/bug.php?id=53899&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53899&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53899&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53899&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53899&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53899&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53899&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53899&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53899&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53899&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53899&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53899&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53899&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53899&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53899&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53899&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53899&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53899&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53899&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53899&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53899&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53899&r=mysqlcfg