]> granicus.if.org Git - php/log
php
10 years agoFix handling of session user module custom handlers.
Sara Golemon [Thu, 15 May 2014 21:00:15 +0000 (14:00 -0700)]
Fix handling of session user module custom handlers.

According to the documentation, returning TRUE from
user based session handlers should indicate success,
while returning FALSE should indicate failure.

The existing logic relied on casting the return value
to an integer and returning that from the function.
However, the internal handlers use SUCCESS/FAILURE
where SUCCESS == 0, and FAILURE == -1, so the following
behavior map occurs:

  return false; => return 0; => return SUCCESS
  return true; => return 1; => return <undefined>

Since the session API checks against FAILURE,
both boolean responses wind up appearing like "not FAILURE".

This diff reasserts boolean responses to behave as
documented and introduces some special handling
for integer responses of 0 and -1 so that code can be
written for older and newer versions of PHP.

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Sun, 6 Jul 2014 05:34:57 +0000 (22:34 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  add more exts for Travis

10 years agoadd more exts for Travis
Stanislav Malyshev [Sun, 6 Jul 2014 01:09:26 +0000 (18:09 -0700)]
add more exts for Travis

10 years agoMerge branch 'PHP-5.6'
Bob Weinand [Sat, 5 Jul 2014 23:21:24 +0000 (01:21 +0200)]
Merge branch 'PHP-5.6'

10 years agoUpdate NEWS
Bob Weinand [Sat, 5 Jul 2014 23:20:46 +0000 (01:20 +0200)]
Update NEWS

10 years agoMerge sapi/phpdbg into PHP-5.6
Bob Weinand [Sat, 5 Jul 2014 23:17:50 +0000 (01:17 +0200)]
Merge sapi/phpdbg into PHP-5.6

10 years agoMerge pull request #104 from andytson/feature/rpm-build-fix
Bob Weinand [Sat, 5 Jul 2014 23:16:03 +0000 (01:16 +0200)]
Merge pull request #104 from andytson/feature/rpm-build-fix

Fix phpdbg.1 man page installation when build != src directory

10 years agoFix phpdbg.1 man page installation when build != src directory
Andy Thompson [Sat, 5 Jul 2014 12:05:05 +0000 (13:05 +0100)]
Fix phpdbg.1 man page installation when build != src directory

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Thu, 3 Jul 2014 18:43:12 +0000 (20:43 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir)
  reorder
  restore API compatibility
  finish
  refactor php_stream_temp_create{,_ex} and use it for the php://input stream
  refactor _php_stream_fopen_{temporary_,tmp}file()
  fix length overflow of HTTP_RAW_POST_DATA

Conflicts:
main/php_content_types.c

10 years agoBFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead...
Michael Wallner [Wed, 2 Jul 2014 17:48:36 +0000 (19:48 +0200)]
BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir)

10 years agoreorder
Michael Wallner [Wed, 2 Jul 2014 17:46:56 +0000 (19:46 +0200)]
reorder

10 years agorestore API compatibility
Michael Wallner [Wed, 2 Jul 2014 13:41:59 +0000 (15:41 +0200)]
restore API compatibility

10 years agofinish
Michael Wallner [Wed, 2 Jul 2014 12:35:20 +0000 (14:35 +0200)]
finish

10 years agorefactor php_stream_temp_create{,_ex} and use it for the php://input stream
Michael Wallner [Wed, 2 Jul 2014 10:22:14 +0000 (12:22 +0200)]
refactor php_stream_temp_create{,_ex} and use it for the php://input stream

10 years agorefactor _php_stream_fopen_{temporary_,tmp}file()
Michael Wallner [Wed, 2 Jul 2014 10:10:10 +0000 (12:10 +0200)]
refactor _php_stream_fopen_{temporary_,tmp}file()

10 years agofix length overflow of HTTP_RAW_POST_DATA
Michael Wallner [Wed, 2 Jul 2014 08:09:05 +0000 (10:09 +0200)]
fix length overflow of HTTP_RAW_POST_DATA

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Thu, 3 Jul 2014 06:59:24 +0000 (14:59 +0800)]
Merge branch 'PHP-5.6'

10 years agoUpdate NEWS
Xinchen Hui [Thu, 3 Jul 2014 06:59:14 +0000 (14:59 +0800)]
Update NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Thu, 3 Jul 2014 06:58:53 +0000 (14:58 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoFixed bug #67215 (php-cgi work with opcache, may be segmentation fault happen)
Xinchen Hui [Thu, 3 Jul 2014 06:58:37 +0000 (14:58 +0800)]
Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault happen)

10 years agoAdd test for bug #67215
Xinchen Hui [Thu, 3 Jul 2014 05:38:38 +0000 (13:38 +0800)]
Add test for bug #67215

bjori> writing a testcase making sure you get a fatal error and does not
segfault after that... is difficult

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Thu, 3 Jul 2014 02:52:03 +0000 (10:52 +0800)]
Merge branch 'PHP-5.6'

10 years agoFixed section
Xinchen Hui [Thu, 3 Jul 2014 02:51:24 +0000 (10:51 +0800)]
Fixed section

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Thu, 3 Jul 2014 02:51:10 +0000 (10:51 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoAdd CVE ID
Xinchen Hui [Thu, 3 Jul 2014 02:49:37 +0000 (10:49 +0800)]
Add CVE ID

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 2 Jul 2014 21:36:00 +0000 (23:36 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  also add Remi to the QA credits
  add Stas and Julient to the QA credits

10 years agoalso add Remi to the QA credits
Ferenc Kovacs [Wed, 2 Jul 2014 21:35:31 +0000 (23:35 +0200)]
also add Remi to the QA credits

10 years agoadd Stas and Julient to the QA credits
Ferenc Kovacs [Wed, 2 Jul 2014 21:32:50 +0000 (23:32 +0200)]
add Stas and Julient to the QA credits

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 2 Jul 2014 21:27:54 +0000 (23:27 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update the credits

10 years agoupdate the credits
Ferenc Kovacs [Wed, 2 Jul 2014 21:26:41 +0000 (23:26 +0200)]
update the credits

10 years agoMerge branch 'PHP-5.6'
Nikita Popov [Wed, 2 Jul 2014 20:41:04 +0000 (22:41 +0200)]
Merge branch 'PHP-5.6'

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Nikita Popov [Wed, 2 Jul 2014 20:40:45 +0000 (22:40 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Nikita Popov [Wed, 2 Jul 2014 20:40:33 +0000 (22:40 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoAdd test for bug #67151
Nikita Popov [Wed, 2 Jul 2014 20:37:41 +0000 (22:37 +0200)]
Add test for bug #67151

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 2 Jul 2014 20:39:19 +0000 (22:39 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  adding a reproduce script for bug #49184

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Wed, 2 Jul 2014 20:38:53 +0000 (22:38 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  adding a reproduce script for bug #49184

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ferenc Kovacs [Wed, 2 Jul 2014 20:38:27 +0000 (22:38 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  adding a reproduce script for bug #49184

10 years agoadding a reproduce script for bug #49184
Ferenc Kovacs [Wed, 2 Jul 2014 20:37:43 +0000 (22:37 +0200)]
adding a reproduce script for bug #49184

10 years agoMerge branch 'PHP-5.6'
Nikita Popov [Wed, 2 Jul 2014 20:35:19 +0000 (22:35 +0200)]
Merge branch 'PHP-5.6'

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Nikita Popov [Wed, 2 Jul 2014 20:34:46 +0000 (22:34 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Nikita Popov [Wed, 2 Jul 2014 20:33:57 +0000 (22:33 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoFix bug #67151: strtr with empty array crashes
Nikita Popov [Wed, 2 Jul 2014 20:31:52 +0000 (22:31 +0200)]
Fix bug #67151: strtr with empty array crashes

10 years agoMerge branch 'PHP-5.6'
Adam Harvey [Wed, 2 Jul 2014 19:30:51 +0000 (12:30 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix ext/pgsql builds against libpq 7.3.

10 years agoFix ext/pgsql builds against libpq 7.3.
Adam Harvey [Wed, 2 Jul 2014 19:30:06 +0000 (12:30 -0700)]
Fix ext/pgsql builds against libpq 7.3.

Fixes bug #67555 (Cannot build against libpq 7.3).

10 years agoMerge branch 'PHP-5.6'
Nikita Popov [Wed, 2 Jul 2014 15:37:25 +0000 (17:37 +0200)]
Merge branch 'PHP-5.6'

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Nikita Popov [Wed, 2 Jul 2014 15:35:03 +0000 (17:35 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoFix bug #67497: eval with parse error causes segfault in generator
Nikita Popov [Wed, 2 Jul 2014 15:33:31 +0000 (17:33 +0200)]
Fix bug #67497: eval with parse error causes segfault in generator

10 years agoMerge branch 'PHP-5.6'
Bob Weinand [Wed, 2 Jul 2014 15:26:44 +0000 (17:26 +0200)]
Merge branch 'PHP-5.6'

10 years agoMark test as XFAIL until fixed
Bob Weinand [Wed, 2 Jul 2014 15:25:47 +0000 (17:25 +0200)]
Mark test as XFAIL until fixed

10 years agoMerge branch 'PHP-5.6'
Bob Weinand [Wed, 2 Jul 2014 10:44:30 +0000 (12:44 +0200)]
Merge branch 'PHP-5.6'

10 years agoMessed up syntax of tests
Bob Weinand [Wed, 2 Jul 2014 10:43:27 +0000 (12:43 +0200)]
Messed up syntax of tests

10 years agoMerge branch 'PHP-5.6'
Bob Weinand [Wed, 2 Jul 2014 10:35:06 +0000 (12:35 +0200)]
Merge branch 'PHP-5.6'

10 years agoAdd tests for constant expression arrays
Bob Weinand [Wed, 2 Jul 2014 10:31:50 +0000 (12:31 +0200)]
Add tests for constant expression arrays
Adding one failing (!) test for now about circular constant references embedded in a constant AST, must be fixed before PHP 5.6 release.

10 years agoMerge branch 'PHP-5.6'
Xinchen Hui [Wed, 2 Jul 2014 09:58:49 +0000 (17:58 +0800)]
Merge branch 'PHP-5.6'

10 years agoUpdate NEWs
Xinchen Hui [Wed, 2 Jul 2014 09:58:37 +0000 (17:58 +0800)]
Update NEWs

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Xinchen Hui [Wed, 2 Jul 2014 09:58:11 +0000 (17:58 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoFixed bug #67539 (ArrayIterator use-after-free due to object change during sorting)
Xinchen Hui [Wed, 2 Jul 2014 09:57:42 +0000 (17:57 +0800)]
Fixed bug #67539 (ArrayIterator use-after-free due to object change during sorting)

10 years agoFixed Bug #67538 (SPL Iterators use-after-free)
Xinchen Hui [Wed, 2 Jul 2014 09:45:09 +0000 (17:45 +0800)]
Fixed Bug #67538 (SPL Iterators use-after-free)

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Wed, 2 Jul 2014 09:36:15 +0000 (11:36 +0200)]
Merge branch 'PHP-5.6'

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 2 Jul 2014 09:36:00 +0000 (11:36 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Wed, 2 Jul 2014 09:35:42 +0000 (11:35 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agobundle deplister.exe with releases
Anatol Belski [Wed, 2 Jul 2014 09:34:37 +0000 (11:34 +0200)]
bundle deplister.exe with releases

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Wed, 2 Jul 2014 09:12:49 +0000 (11:12 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  backported the VC12 fix for ARG_MAX

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Wed, 2 Jul 2014 09:12:32 +0000 (11:12 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  backported the VC12 fix for ARG_MAX

10 years agobackported the VC12 fix for ARG_MAX
Anatol Belski [Wed, 2 Jul 2014 09:11:39 +0000 (11:11 +0200)]
backported the VC12 fix for ARG_MAX

10 years agoMerge branch 'PHP-5.6'
Michael Wallner [Wed, 2 Jul 2014 07:56:41 +0000 (09:56 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix integer overflow in {stream,file}_{get,put}_contents()

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Michael Wallner [Wed, 2 Jul 2014 07:56:05 +0000 (09:56 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix integer overflow in {stream,file}_{get,put}_contents()

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Michael Wallner [Wed, 2 Jul 2014 07:55:15 +0000 (09:55 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix integer overflow in {stream,file}_{get,put}_contents()

10 years agofix integer overflow in {stream,file}_{get,put}_contents()
Michael Wallner [Wed, 2 Jul 2014 07:53:03 +0000 (09:53 +0200)]
fix integer overflow in {stream,file}_{get,put}_contents()

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Wed, 2 Jul 2014 00:19:12 +0000 (02:19 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  add some missing NEWS entries

10 years agoadd some missing NEWS entries
Ferenc Kovacs [Wed, 2 Jul 2014 00:18:48 +0000 (02:18 +0200)]
add some missing NEWS entries

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Tue, 1 Jul 2014 23:39:54 +0000 (01:39 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS block for 5.6.0RC3

10 years agoNEWS block for 5.6.0RC3
Ferenc Kovacs [Tue, 1 Jul 2014 23:39:26 +0000 (01:39 +0200)]
NEWS block for 5.6.0RC3

10 years agoMerge branch 'PHP-5.6'
Adam Harvey [Tue, 1 Jul 2014 20:26:28 +0000 (13:26 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix ext/pgsql builds with libpq < 7.3.

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Adam Harvey [Tue, 1 Jul 2014 20:25:55 +0000 (13:25 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix ext/pgsql builds with libpq < 7.3.

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Tue, 1 Jul 2014 20:23:11 +0000 (13:23 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix ext/pgsql builds with libpq < 7.3.

10 years agoFix ext/pgsql builds with libpq < 7.3.
Adam Harvey [Tue, 1 Jul 2014 20:19:22 +0000 (13:19 -0700)]
Fix ext/pgsql builds with libpq < 7.3.

Fixes bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756).

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Tue, 1 Jul 2014 08:35:16 +0000 (10:35 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated libs_version.txt
  updated libs_version.txt

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 1 Jul 2014 08:34:55 +0000 (10:34 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated libs_version.txt
  updated libs_version.txt

10 years agoupdated libs_version.txt
Anatol Belski [Tue, 1 Jul 2014 08:34:25 +0000 (10:34 +0200)]
updated libs_version.txt

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Tue, 1 Jul 2014 08:34:00 +0000 (10:34 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  updated libs_version.txt

10 years agoupdated libs_version.txt
Anatol Belski [Tue, 1 Jul 2014 08:33:09 +0000 (10:33 +0200)]
updated libs_version.txt

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Tue, 1 Jul 2014 08:29:14 +0000 (10:29 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated libmagic.patch in 5.6+
  updated libmagic.patch

10 years agoupdated libmagic.patch in 5.6+
Anatol Belski [Tue, 1 Jul 2014 08:28:43 +0000 (10:28 +0200)]
updated libmagic.patch in 5.6+

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 1 Jul 2014 08:28:20 +0000 (10:28 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated libmagic.patch

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Tue, 1 Jul 2014 08:27:38 +0000 (10:27 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  updated libmagic.patch

10 years agoupdated libmagic.patch
Anatol Belski [Tue, 1 Jul 2014 08:25:20 +0000 (10:25 +0200)]
updated libmagic.patch

10 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Mon, 30 Jun 2014 20:17:55 +0000 (00:17 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed possible crash because of race conditions on modifying constants in shared memory

10 years agoFixed possible crash because of race conditions on modifying constants in shared...
Dmitry Stogov [Mon, 30 Jun 2014 20:13:34 +0000 (00:13 +0400)]
Fixed possible crash because of race conditions on modifying constants in shared memory

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Mon, 30 Jun 2014 16:39:31 +0000 (18:39 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  remove the NEWS entry for the reverted fpm fix
  remove the NEWS entry for the reverted fpm fix
  remove the NEWS entry for the reverted fpm fix
  Revert "Fix Bug #67530  error_log=syslog ignored"

10 years agoremove the NEWS entry for the reverted fpm fix
Ferenc Kovacs [Mon, 30 Jun 2014 16:39:06 +0000 (18:39 +0200)]
remove the NEWS entry for the reverted fpm fix

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Mon, 30 Jun 2014 16:38:54 +0000 (18:38 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  remove the NEWS entry for the reverted fpm fix
  remove the NEWS entry for the reverted fpm fix
  Revert "Fix Bug #67530  error_log=syslog ignored"

10 years agoremove the NEWS entry for the reverted fpm fix
Ferenc Kovacs [Mon, 30 Jun 2014 16:38:31 +0000 (18:38 +0200)]
remove the NEWS entry for the reverted fpm fix

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ferenc Kovacs [Mon, 30 Jun 2014 16:38:15 +0000 (18:38 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  remove the NEWS entry for the reverted fpm fix
  Revert "Fix Bug #67530  error_log=syslog ignored"

10 years agoremove the NEWS entry for the reverted fpm fix
Ferenc Kovacs [Mon, 30 Jun 2014 16:37:56 +0000 (18:37 +0200)]
remove the NEWS entry for the reverted fpm fix

10 years agoRevert "Fix Bug #67530 error_log=syslog ignored"
Ferenc Kovacs [Mon, 30 Jun 2014 16:37:23 +0000 (18:37 +0200)]
Revert "Fix Bug #67530  error_log=syslog ignored"

This reverts commit a0ecb3794f00e65cd2a073b2073e32d6c2fb7180.

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Mon, 30 Jun 2014 10:31:25 +0000 (12:31 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  --enable-fpm for the travis build

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Mon, 30 Jun 2014 10:30:49 +0000 (12:30 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  --enable-fpm for the travis build

10 years ago--enable-fpm for the travis build
Ferenc Kovacs [Mon, 30 Jun 2014 10:30:24 +0000 (12:30 +0200)]
--enable-fpm for the travis build

10 years agoMerge branch 'PHP-5.6'
Ferenc Kovacs [Mon, 30 Jun 2014 00:32:46 +0000 (02:32 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here