-
Fix bug #71005 (Segfault in php_cli_server_dispatch_router()).
We didn't initialise the retval variable in php_cli_server_dispatch_router(); let's now initialise it to be IS_UNDEF, as the following if condition expects.
-
Fix a memory leak in sqlite3_do_callback.
This was very, very obvious when using a debug build of PHP to build the manual! Fixes bug #70571 (Memory leak in sqlite3_do_callback).
-
* PHP-5.6: Fix NEWS indentation. Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.
-
-
Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.
Fixes bug #70370 (Bundled libtool.m4 doesn't handle FreeBSD 10 when building extensions).
LawnGnome committedAug 27, 2015
-
-
json_decode() should generate a syntax error when given "".
Fixes bug #68938 (json_decode() decodes empty string without error). Patch by jeremy at bat-country dot us.
-
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Handle NULL strings in sapi_cli_server_register_variable(). Allow CLI server test scripts to specify the name of the router file. Conflicts: sapi/cli/tests/php_cli_server.inc
-
Handle NULL strings in sapi_cli_server_register_variable().
Fixes bug #68745 (Invalid HTTP requests make web server segfault).
-
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Check the return value of lo_export.
-
Check the return value of lo_export.
Patch by Ondřej Surý. Fixes bug #68697 (lo_export return -1 on failure).
-
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fix bug #67972 (SessionHandler Invalid memory read create_sid()). Update LSAPI to 6.7, added support for 'filter_input'. Fixed a crash in CLI mode. 5.5.18 now Conflicts: configure.in main/php_version.h
-
Fix bug #67972 (SessionHandler Invalid memory read create_sid()).
SessionHandler::create_sid() didn't check if PS(default_mod) was initialised before attempting to call its create_sid() handler.
-
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
-
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
-
Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
We had an infinite loop in sapi_cli_server_send_headers(): while iterating over the linked list of headers, when an empty header was hit, continue would go to the next iteration of the loop without updating h to be the next value in the linked list. Updating it to always increment regardless of whether the header is actually valid or not fixes the issue.
LawnGnome committedJul 7, 2014
-
Fix ext/pgsql builds against libpq 7.3.
Fixes bug #67555 (Cannot build against libpq 7.3).
-
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fix ext/pgsql builds with libpq < 7.3.
-
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Fix ext/pgsql builds with libpq < 7.3.
-
Fix ext/pgsql builds with libpq < 7.3.
Fixes bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756).
LawnGnome committedJul 1, 2014
-
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Follow 308 Permanent Redirect responses.
-
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Follow 308 Permanent Redirect responses.
-
Follow 308 Permanent Redirect responses.
Fixes bug #67430 (http:// wrapper doesn't follow 308 redirects).
LawnGnome committedJun 13, 2014 -
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Add 308 and 426 to the HTTP response code map in the CLI server.
-
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Add 308 and 426 to the HTTP response code map in the CLI server.
-
Add 308 and 426 to the HTTP response code map in the CLI server.
Implements FR #67429 (CLI server is missing some new HTTP response codes).
LawnGnome committedJun 13, 2014 -
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Keep 308-399 HTTP response codes when header('Location:') is called. -
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Keep 308-399 HTTP response codes when header('Location:') is called. -
Keep 308-399 HTTP response codes when header('Location:') is called.
Fixes bug #67428 (header('Location: foo') will override a 308-399 response code).LawnGnome committedJun 13, 2014
-
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Check for zero-length keys in spl_array_skip_protected and don't skip them.
-
Check for zero-length keys in spl_array_skip_protected and don't skip…
… them. Fixes bug #67360 (Missing element after ArrayObject::getIterator).
LawnGnome committedMay 29, 2014
-
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Add microseconds to the serialised form of DateTime objects.
-
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Add microseconds to the serialised form of DateTime objects.
-
Add microseconds to the serialised form of DateTime objects.
Fixes bug #67308 (Serialize of DateTime truncates fractions of second).
LawnGnome committedMay 21, 2014