Commits on Dec 1, 2015
  1. 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.
    LawnGnome committed Dec 1, 2015
Commits on Sep 24, 2015
  1. 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).
    LawnGnome committed Sep 24, 2015
Commits on Aug 27, 2015
  1. Merge branch 'PHP-5.6'

    * PHP-5.6:
      Fix NEWS indentation.
      Don't detect FreeBSD 10 as FreeBSD 1 in libtool.m4.
    LawnGnome committed Aug 27, 2015
  2. Fix NEWS indentation.

    LawnGnome committed Aug 27, 2015
  3. 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 committed Aug 27, 2015
Commits on Feb 2, 2015
  1. 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.
    LawnGnome committed Feb 2, 2015
Commits on Jan 6, 2015
  1. 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
    LawnGnome committed Jan 6, 2015
  2. Handle NULL strings in sapi_cli_server_register_variable().

    Fixes bug #68745 (Invalid HTTP requests make web server segfault).
    LawnGnome committed Jan 6, 2015
Commits on Dec 30, 2014
  1. Merge branch 'PHP-5.5' into PHP-5.6

    * PHP-5.5:
      Check the return value of lo_export.
    LawnGnome committed Dec 30, 2014
  2. Check the return value of lo_export.

    Patch by Ondřej Surý. Fixes bug #68697 (lo_export return -1 on failure).
    LawnGnome committed Dec 30, 2014
Commits on Sep 8, 2014
  1. 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
    LawnGnome committed Sep 8, 2014
  2. 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.
    LawnGnome committed Sep 8, 2014
Commits on Jul 7, 2014
  1. 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).
    LawnGnome committed Jul 7, 2014
  2. 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).
    LawnGnome committed Jul 7, 2014
  3. 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 committed Jul 7, 2014
Commits on Jul 2, 2014
  1. Fix ext/pgsql builds against libpq 7.3.

    Fixes bug #67555 (Cannot build against libpq 7.3).
    LawnGnome committed Jul 2, 2014
Commits on Jul 1, 2014
  1. Merge branch 'PHP-5.5' into PHP-5.6

    * PHP-5.5:
      Fix ext/pgsql builds with libpq < 7.3.
    LawnGnome committed Jul 1, 2014
  2. Merge branch 'PHP-5.4' into PHP-5.5

    * PHP-5.4:
      Fix ext/pgsql builds with libpq < 7.3.
    LawnGnome committed Jul 1, 2014
  3. Fix ext/pgsql builds with libpq < 7.3.

    Fixes bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756).
    LawnGnome committed Jul 1, 2014
Commits on Jun 13, 2014
  1. Merge branch 'PHP-5.5' into PHP-5.6

    * PHP-5.5:
      Follow 308 Permanent Redirect responses.
    LawnGnome committed Jun 13, 2014
  2. Merge branch 'PHP-5.4' into PHP-5.5

    * PHP-5.4:
      Follow 308 Permanent Redirect responses.
    LawnGnome committed Jun 13, 2014
  3. Follow 308 Permanent Redirect responses.

    Fixes bug #67430 (http:// wrapper doesn't follow 308 redirects).
    LawnGnome committed Jun 13, 2014
  4. 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.
    LawnGnome committed Jun 13, 2014
  5. 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.
    LawnGnome committed Jun 13, 2014
  6. 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 committed Jun 13, 2014
  7. Merge branch 'PHP-5.5' into PHP-5.6

    * PHP-5.5:
      Keep 308-399 HTTP response codes when header('Location:') is called.
    LawnGnome committed Jun 13, 2014
  8. Merge branch 'PHP-5.4' into PHP-5.5

    * PHP-5.4:
      Keep 308-399 HTTP response codes when header('Location:') is called.
    LawnGnome committed Jun 13, 2014
  9. 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 committed Jun 13, 2014
Commits on Jun 11, 2014
Commits on May 29, 2014
  1. 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.
    LawnGnome committed May 29, 2014
  2. Check for zero-length keys in spl_array_skip_protected and don't skip…

    … them.
    
    Fixes bug #67360 (Missing element after ArrayObject::getIterator).
    LawnGnome committed May 29, 2014
Commits on May 21, 2014
  1. Merge branch 'PHP-5.5' into PHP-5.6

    * PHP-5.5:
      Add microseconds to the serialised form of DateTime objects.
    LawnGnome committed May 21, 2014
  2. Merge branch 'PHP-5.4' into PHP-5.5

    * PHP-5.4:
      Add microseconds to the serialised form of DateTime objects.
    LawnGnome committed May 21, 2014
  3. Add microseconds to the serialised form of DateTime objects.

    Fixes bug #67308 (Serialize of DateTime truncates fractions of second).
    LawnGnome committed May 21, 2014