]> granicus.if.org Git - php/commitdiff
- NEWS update and test related to the NULL poisoning recent fixes
authorPierre Joye <pajoye@php.net>
Sat, 18 Dec 2010 12:51:23 +0000 (12:51 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 18 Dec 2010 12:51:23 +0000 (12:51 +0000)
NEWS
ext/soap/tests/error_handler.phpt [new file with mode: 0644]

diff --git a/NEWS b/NEWS
index 1bafc30453c9262c33bb2e7373ed5db1e6bdb22d..78105ed21c3739f6e4065b7c0a356ebd29eeed9f 100644 (file)
--- a/NEWS
+++ b/NEWS
 
 - PHP-FPM SAPI:
   . Fixed bug #53527 (php-fpm --test doesn't set a valuable return value). (fat)
-    
+
+- Soap Extension:
+  . Fixed possible crash introduced by the NULL poisoning patch (Mateusz Kocielski, Pierre)
+
+- Sqlite Extension:
+  . Fixed memory leaked introduced by the NULL poisoning patch (Mateusz Kocielski, Pierre)
+
 - SPL extension:
   . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0
     values). (Felipe)
 - Streams:
   . Implemented FR #26158 (open arbitrary file descriptor with fopen). (Gustavo)
 
+- Xsl Extension:
+  . Fixed memory leaked introduced by the NULL poisoning patch (Mateusz Kocielski, Pierre)
+
 - Zip extension
   . Fixed bug #53568 (swapped memset arguments in struct initialization).
     (crrodriguez at opensuse dot org)
 
-
 09 Dec 2010, PHP 5.3.4
 - Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)
 - Upgraded bundled PCRE to version 8.10. (Ilia)
diff --git a/ext/soap/tests/error_handler.phpt b/ext/soap/tests/error_handler.phpt
new file mode 100644 (file)
index 0000000..d243649
--- /dev/null
@@ -0,0 +1,17 @@
+--TEST--\r
+Bug #46760 (SoapClient doRequest fails when proxy is used)\r
+--SKIPIF--\r
+<?php require_once('skipif.inc'); \r
+if (!extension_loaded('sqlite')) die('skip squilite extension not available');\r
+?>\r
+--FILE--\r
+<?php\r
+echo "blllllllllaaaaaaa\n";\r
+$var475 = sqlite_factory("\x00");\r
+$var147 = use_soap_error_handler();\r
+$var477 = flock(false,false);dump($client->_proxy_port);\r
+\r
+echo "OK";\r
+?>\r
+--EXPECT--\r
+OK\r