]> granicus.if.org Git - php/log
php
8 years agofix test to not to cause false positives
Anatol Belski [Wed, 30 Mar 2016 23:29:05 +0000 (01:29 +0200)]
fix test to not to cause false positives

8 years agoAlign NEWS entry format
Lior Kaplan [Wed, 30 Mar 2016 21:52:53 +0000 (00:52 +0300)]
Align NEWS entry format

8 years agoupdate NEWS
Ferenc Kovacs [Wed, 30 Mar 2016 20:28:28 +0000 (22:28 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 29 Mar 2016 12:19:35 +0000 (14:19 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix dir separator in test

8 years agofix dir separator in test
Anatol Belski [Tue, 29 Mar 2016 12:18:25 +0000 (14:18 +0200)]
fix dir separator in test

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 29 Mar 2016 11:11:17 +0000 (13:11 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

8 years agoFixed bug #71527 Buffer over-write in finfo_open with malformed magic file
Anatol Belski [Sun, 27 Mar 2016 22:45:19 +0000 (00:45 +0200)]
Fixed bug #71527 Buffer over-write in finfo_open with malformed magic file

The actual fix is applying the upstream patch from
https://github.com/file/file/commit/6713ca45e7757297381f4b4cdb9cf5e624a9ad36

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:45:15 +0000 (23:45 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71704 php_snmp_error() Format String Vulnerability

8 years agoFixed bug #71704 php_snmp_error() Format String Vulnerability
Anatol Belski [Wed, 16 Mar 2016 08:48:40 +0000 (09:48 +0100)]
Fixed bug #71704 php_snmp_error() Format String Vulnerability

Conflicts:
ext/snmp/snmp.c

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:30:14 +0000 (23:30 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoMerge branch 'PHP-5.5.34' into PHP-5.5
Stanislav Malyshev [Tue, 29 Mar 2016 06:29:45 +0000 (23:29 -0700)]
Merge branch 'PHP-5.5.34' into PHP-5.5

* PHP-5.5.34:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 29 Mar 2016 06:21:15 +0000 (23:21 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
  Fix bug #71798 - Integer Overflow in php_raw_url_encode
  Fix bug #71860: Require valid paths for phar filenames
  Going for 5.5.34

Conflicts:
configure.in
ext/phar/tests/create_path_error.phpt
main/php_version.h

8 years agoFixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Stanislav Malyshev [Mon, 28 Mar 2016 08:22:37 +0000 (01:22 -0700)]
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoFixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut
Stanislav Malyshev [Mon, 28 Mar 2016 08:22:37 +0000 (01:22 -0700)]
Fixed bug #71906: AddressSanitizer: negative-size-param (-1) in mbfl_strcut

8 years agoFix bug #71798 - Integer Overflow in php_raw_url_encode
Stanislav Malyshev [Sun, 27 Mar 2016 21:22:19 +0000 (14:22 -0700)]
Fix bug #71798 - Integer Overflow in php_raw_url_encode

8 years agoFixed bug #67512
Nikita Popov [Fri, 25 Mar 2016 19:18:46 +0000 (20:18 +0100)]
Fixed bug #67512

8 years agoUpdated to version 2016.3 (2016c)
Derick Rethans [Thu, 24 Mar 2016 11:09:05 +0000 (11:09 +0000)]
Updated to version 2016.3 (2016c)

8 years agoUpdated NEWS
Julien Pauli [Mon, 21 Mar 2016 14:26:21 +0000 (15:26 +0100)]
Updated NEWS

8 years agoReworked Fix bug #52098
Julien Pauli [Mon, 21 Mar 2016 14:23:18 +0000 (15:23 +0100)]
Reworked Fix bug #52098

8 years agoFix bug #52098
Daniel Persson [Sat, 26 Sep 2015 10:43:40 +0000 (12:43 +0200)]
Fix bug #52098

8 years agoUpdate NEWS for efacdc3
Xinchen Hui [Mon, 21 Mar 2016 08:43:30 +0000 (16:43 +0800)]
Update NEWS for efacdc3

8 years agoMerge branch 'PHP-5.6' of https://github.com/msierks/php-src into PHP-5.6
Xinchen Hui [Mon, 21 Mar 2016 08:39:22 +0000 (16:39 +0800)]
Merge branch 'PHP-5.6' of https://github.com/msierks/php-src into PHP-5.6

* 'PHP-5.6' of https://github.com/msierks/php-src:
  FIX #71831: CURLOPT_NOPROXY applied as long instead of string

8 years agoFix bug #71860: Require valid paths for phar filenames
Stanislav Malyshev [Mon, 21 Mar 2016 03:54:09 +0000 (20:54 -0700)]
Fix bug #71860: Require valid paths for phar filenames

8 years agoFixed bug #67582
Nikita Popov [Sun, 20 Mar 2016 16:46:12 +0000 (17:46 +0100)]
Fixed bug #67582

8 years agoFIX #71831: CURLOPT_NOPROXY applied as long instead of string
Michael Sierks [Fri, 18 Mar 2016 12:29:01 +0000 (07:29 -0500)]
FIX #71831: CURLOPT_NOPROXY applied as long instead of string

The CURLOPT_NOPROXY option value is converted to a long before
being applied as a curl option. This causes the option to have
no effect. This patch changes this conversion to a string.

8 years agofix and update NEWS
Anatol Belski [Thu, 17 Mar 2016 18:02:08 +0000 (19:02 +0100)]
fix and update NEWS

8 years agoBackport patch for bug #71820
Anatol Belski [Thu, 17 Mar 2016 13:28:32 +0000 (14:28 +0100)]
Backport patch for bug #71820

Rev b4eedd128ba9f61be08a50c94afd72837d7cf70b

8 years agoMerge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Thu, 17 Mar 2016 13:27:23 +0000 (21:27 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:/php-src:
  fix NEWS
  NEWS
  Fix Bug #63171  Script hangs after max_execution_time

8 years agofix NEWS
Remi Collet [Thu, 17 Mar 2016 12:53:42 +0000 (13:53 +0100)]
fix NEWS

8 years agoNEWS
Remi Collet [Thu, 17 Mar 2016 12:40:42 +0000 (13:40 +0100)]
NEWS

8 years agoFix Bug #63171 Script hangs after max_execution_time
Remi Collet [Thu, 17 Mar 2016 12:38:45 +0000 (13:38 +0100)]
Fix Bug #63171  Script hangs after max_execution_time

If aborted via timer expiration, don't try to call any unixODBC function
which may hangs because of internal locks

8 years agoFixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)
Xinchen Hui [Thu, 17 Mar 2016 11:06:50 +0000 (19:06 +0800)]
Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)

8 years agoFixed test script
Xinchen Hui [Thu, 17 Mar 2016 09:06:56 +0000 (17:06 +0800)]
Fixed test script

8 years agoFixed test script
Xinchen Hui [Thu, 17 Mar 2016 07:23:44 +0000 (15:23 +0800)]
Fixed test script

8 years agoFixed bug #71841 (EG(error_zval) is not handled well)
Xinchen Hui [Thu, 17 Mar 2016 07:16:47 +0000 (15:16 +0800)]
Fixed bug #71841 (EG(error_zval) is not handled well)

8 years agoFixed bug #71840 (Unserialize accepts wrongly data)
Xinchen Hui [Thu, 17 Mar 2016 06:27:27 +0000 (14:27 +0800)]
Fixed bug #71840 (Unserialize accepts wrongly data)

8 years agoprepare for 5.6.20RC1
Ferenc Kovacs [Thu, 17 Mar 2016 00:46:00 +0000 (01:46 +0100)]
prepare for 5.6.20RC1

8 years agofix #ifdef usage
Remi Collet [Wed, 16 Mar 2016 06:17:49 +0000 (07:17 +0100)]
fix #ifdef usage

8 years agoUpdated to version 2016.2 (2016b)
Derick Rethans [Tue, 15 Mar 2016 09:14:09 +0000 (09:14 +0000)]
Updated to version 2016.2 (2016b)

8 years agoupdate libs versions
Anatol Belski [Tue, 15 Mar 2016 08:41:34 +0000 (09:41 +0100)]
update libs versions

8 years agofix test
Anatol Belski [Mon, 14 Mar 2016 14:53:02 +0000 (15:53 +0100)]
fix test

Many warnings won't appear with libxml2 >= 2.9.3 because in many
cases libxml2 2.9.3 will just abort processing.

8 years agoupdate NEWS
Anatol Belski [Fri, 11 Mar 2016 13:22:11 +0000 (14:22 +0100)]
update NEWS

8 years agoFix DatePeriod::getEndDate() segfault
Thomas Punt [Mon, 7 Mar 2016 09:40:22 +0000 (09:40 +0000)]
Fix DatePeriod::getEndDate() segfault

8 years agofix error condition, part of bug #71753
Anatol Belski [Thu, 10 Mar 2016 10:35:50 +0000 (11:35 +0100)]
fix error condition, part of bug #71753

8 years agotsrm_win32_get_path_sid_key might returns NULL (Partially fix bug #71752)
Xinchen Hui [Thu, 10 Mar 2016 06:24:13 +0000 (14:24 +0800)]
tsrm_win32_get_path_sid_key might returns NULL (Partially fix bug #71752)

cherry-picked from 7d5f71b0b125c89211e5a2a6d925deba938abd41

8 years agoFixed typo (partially fix for #71753)
Xinchen Hui [Thu, 10 Mar 2016 07:22:34 +0000 (15:22 +0800)]
Fixed typo (partially fix for #71753)

8 years agofix directory separator
Anatol Belski [Wed, 9 Mar 2016 13:16:29 +0000 (14:16 +0100)]
fix directory separator

8 years agofix regression introduced in 5683b6fa39
Anatol Belski [Tue, 8 Mar 2016 11:59:59 +0000 (12:59 +0100)]
fix regression introduced in 5683b6fa39

Test extended. Basically, both iterator type and next node have
to be checked.

8 years agoFixed bug #69953
Christoph M. Becker [Tue, 14 Jul 2015 09:09:03 +0000 (11:09 +0200)]
Fixed bug #69953

Added support for MKCALENDAR request method in CLI web server.

8 years agoAdditional improvements to crypt() detection code
Anton Blanchard [Thu, 3 Mar 2016 16:28:34 +0000 (17:28 +0100)]
Additional improvements to crypt() detection code

Reformat to normalize tabs vs spaces, return 1 if crypt.h not
defined, fix C99 compliance.

8 years agoext/standard/config.m4: fix crypt() test segfaults in >=glibc-2.17.
Michael Orlitzky [Mon, 9 Nov 2015 15:49:10 +0000 (10:49 -0500)]
ext/standard/config.m4: fix crypt() test segfaults in >=glibc-2.17.

Starting with glibc-2.17, the crypt() function will report an EINVAL
and return NULL when the format of the "salt" parameter is
invalid. The current tests for crypt() pass its result to strcmp(),
causing segfaults when the value returned from crypt() is NULL.

This commit modifies the test programs to exit with failure when
crypt() returns NULL.

Reference: https://bugs.gentoo.org/show_bug.cgi?id=518964

8 years agoDisable upload_2G test on travis
Nikita Popov [Tue, 1 Mar 2016 23:29:01 +0000 (00:29 +0100)]
Disable upload_2G test on travis

8 years agoshow correct MINFO with libpq >= 9.5.x
Anatol Belski [Wed, 2 Mar 2016 16:03:20 +0000 (17:03 +0100)]
show correct MINFO with libpq >= 9.5.x

8 years agoGoing for 5.5.34
Julien Pauli [Wed, 2 Mar 2016 10:02:42 +0000 (11:02 +0100)]
Going for 5.5.34

8 years agoMerge branch 'PHP-5.6.19' into PHP-5.6
Stanislav Malyshev [Wed, 2 Mar 2016 06:56:08 +0000 (22:56 -0800)]
Merge branch 'PHP-5.6.19' into PHP-5.6

* PHP-5.6.19:
  fix test file
  Fix version
  Update NEWS

8 years agoMerge branch 'PHP-5.5' into PHP-5.6.19
Stanislav Malyshev [Wed, 2 Mar 2016 06:55:49 +0000 (22:55 -0800)]
Merge branch 'PHP-5.5' into PHP-5.6.19

* PHP-5.5:
  fix test file
  Fix version
  Update NEWS

8 years agofix test file
Stanislav Malyshev [Wed, 2 Mar 2016 06:55:02 +0000 (22:55 -0800)]
fix test file

8 years agoFix version
Stanislav Malyshev [Wed, 2 Mar 2016 06:47:27 +0000 (22:47 -0800)]
Fix version

8 years agoMerge branch 'PHP-5.6.19' into PHP-5.6
Stanislav Malyshev [Wed, 2 Mar 2016 06:41:29 +0000 (22:41 -0800)]
Merge branch 'PHP-5.6.19' into PHP-5.6

* PHP-5.6.19:
  update NEWS
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  fix ts buld
  prep for 5.6.19RC1
  Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize

8 years agoupdate NEWS
Stanislav Malyshev [Wed, 2 Mar 2016 06:41:10 +0000 (22:41 -0800)]
update NEWS

8 years agoMerge branch 'PHP-5.5.33' into PHP-5.6.19
Stanislav Malyshev [Wed, 2 Mar 2016 06:40:00 +0000 (22:40 -0800)]
Merge branch 'PHP-5.5.33' into PHP-5.6.19

* PHP-5.5.33:
  Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
  Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize

8 years agoUpdate NEWS
Stanislav Malyshev [Wed, 2 Mar 2016 06:37:23 +0000 (22:37 -0800)]
Update NEWS

8 years agoMerge branch 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src into PHP-5.6
Xinchen Hui [Wed, 2 Mar 2016 06:26:34 +0000 (14:26 +0800)]
Merge branch 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src into PHP-5.6

* 'PHP-5.6-bug_69757' of https://github.com/wayfair/php-src:
  limit size of result set so unit test runs reliably

8 years agoFix intermittent failure of bug_68819_002.phpt
Nikita Popov [Tue, 1 Mar 2016 23:34:36 +0000 (00:34 +0100)]
Fix intermittent failure of bug_68819_002.phpt

The test used rand(32, 127) to select the character, however
chr(127) results in "data" instead of the expected result, so this
test would fail in something like 1% of the runs.

Replace rand() with fixed character "a".

8 years agoFix bug #71694
mpyw [Tue, 1 Mar 2016 06:30:04 +0000 (15:30 +0900)]
Fix bug #71694

Exports contants CURLM_ADDED_ALREADY.

8 years agolimit size of result set so unit test runs reliably
Adam Baratz [Tue, 1 Mar 2016 22:15:07 +0000 (17:15 -0500)]
limit size of result set so unit test runs reliably

8 years agoFixed bugs #71317 and #71504
Jos Elstgeest [Tue, 2 Feb 2016 23:24:06 +0000 (00:24 +0100)]
Fixed bugs #71317 and #71504

If there are duplicate filenames in tar, the last one wins.

8 years agoadd test for bug #68957
Anatol Belski [Mon, 29 Feb 2016 17:43:03 +0000 (18:43 +0100)]
add test for bug #68957

8 years agoupdate NEWS
Anatol Belski [Mon, 29 Feb 2016 17:25:16 +0000 (18:25 +0100)]
update NEWS

8 years agoFixed #54648 PDO::MSSQL forces format of datetime fields
Anatol Belski [Mon, 29 Feb 2016 16:04:49 +0000 (17:04 +0100)]
Fixed #54648 PDO::MSSQL forces format of datetime fields

adopted patch by steven dot lambeth at gmx dot de

8 years agoremove unneeded free parts
Anatol Belski [Mon, 29 Feb 2016 15:26:46 +0000 (16:26 +0100)]
remove unneeded free parts

See bug #71667, free_statement already does the job

8 years agofix leaks and add one more NULL check
Anatol Belski [Mon, 29 Feb 2016 14:38:42 +0000 (15:38 +0100)]
fix leaks and add one more NULL check

8 years agoadd NULL check
Anatol Belski [Mon, 29 Feb 2016 14:26:57 +0000 (15:26 +0100)]
add NULL check

8 years agofix C89 compat
Anatol Belski [Mon, 29 Feb 2016 14:24:31 +0000 (15:24 +0100)]
fix C89 compat

8 years agofix arg type
Anatol Belski [Mon, 29 Feb 2016 14:23:53 +0000 (15:23 +0100)]
fix arg type

8 years agoupdate NEWS
Anatol Belski [Wed, 24 Feb 2016 10:56:12 +0000 (11:56 +0100)]
update NEWS

8 years agoadd test for bug #47803
Anatol Belski [Wed, 24 Feb 2016 10:49:02 +0000 (11:49 +0100)]
add test for bug #47803

8 years agoFixed bug #47803
Anatol Belski [Wed, 24 Feb 2016 10:40:35 +0000 (11:40 +0100)]
Fixed bug #47803

Executing prepared statements is succesfull only for the first two statements

The reworked patch descends to the bug #69526 which is fixed by
this as well. The broken logic in the current code was, that
SQLDescribeParam was executed in odbc_execute every time. This piece
is now moved into odbc_prepare and the results are carried on in an
additional structure.

Since the ext/odbc headers are not being currently installed and the
corresponding structs like odbc_result are not used outside ext/odbc,
the binary compatibility persists. Executing SQLDescribeParam only once
in odbc_prepare is also an optimization as the filds usually won't
change that fast and thus requestind the descriptions on every
execution is not required.

8 years agomake ext/odbc test credentials configurable
Anatol Belski [Tue, 23 Feb 2016 13:21:04 +0000 (14:21 +0100)]
make ext/odbc test credentials configurable

8 years agocleanup $Id
Remi Collet [Mon, 22 Feb 2016 08:26:00 +0000 (09:26 +0100)]
cleanup $Id

8 years agoFix bug #71498: Out-of-Bound Read in phar_parse_zipfile()
Stanislav Malyshev [Mon, 22 Feb 2016 00:51:05 +0000 (16:51 -0800)]
Fix bug #71498: Out-of-Bound Read in phar_parse_zipfile()

8 years agoupdate NEWS
Anatol Belski [Thu, 18 Feb 2016 18:42:18 +0000 (19:42 +0100)]
update NEWS

8 years agoadd test for bug #71625
Anatol Belski [Thu, 18 Feb 2016 18:38:39 +0000 (19:38 +0100)]
add test for bug #71625

8 years agoFixed bug #71625 Crash in php7.dll with bad phar filename
Anatol Belski [Thu, 18 Feb 2016 18:32:08 +0000 (19:32 +0100)]
Fixed bug #71625 Crash in php7.dll with bad phar filename

8 years agoupdate NEWS
Anatol Belski [Thu, 18 Feb 2016 18:16:39 +0000 (19:16 +0100)]
update NEWS

8 years agoBug #71596 Segmentation fault on ZTS with date function (setlocale)
Anatol Belski [Thu, 18 Feb 2016 18:13:07 +0000 (19:13 +0100)]
Bug #71596 Segmentation fault on ZTS with date function (setlocale)

8 years agofix ts buld php-5.6.19RC1
Anatol Belski [Thu, 18 Feb 2016 06:11:36 +0000 (07:11 +0100)]
fix ts buld

8 years agofix ts buld
Anatol Belski [Thu, 18 Feb 2016 06:11:36 +0000 (07:11 +0100)]
fix ts buld

8 years agoprep for 5.6.19RC1
Ferenc Kovacs [Thu, 18 Feb 2016 00:26:18 +0000 (01:26 +0100)]
prep for 5.6.19RC1

8 years ago5.6.20 is next
Ferenc Kovacs [Wed, 17 Feb 2016 23:31:18 +0000 (00:31 +0100)]
5.6.20 is next

8 years agoyet two test fixes in openssl in 5.6
Anatol Belski [Tue, 16 Feb 2016 07:28:10 +0000 (08:28 +0100)]
yet two test fixes in openssl in 5.6

8 years agoimprove test
Anatol Belski [Tue, 16 Feb 2016 07:05:16 +0000 (08:05 +0100)]
improve test

8 years agoFix timelib compat with PHP5
Anatol Belski [Mon, 15 Feb 2016 15:50:42 +0000 (16:50 +0100)]
Fix timelib compat with PHP5

Windows builds in PHP5 are always using long which is 32-bit even
in 64-bit build. Thus in PHP5, timelib_long and the company have
to always evaluate to a 32-bit.

8 years agoBackported fix for bug #71525
Anatol Belski [Mon, 15 Feb 2016 14:14:23 +0000 (15:14 +0100)]
Backported fix for bug #71525

8 years agoFix bug #71540 - NULL pointer dereference in xsl_ext_function_php()
Stanislav Malyshev [Mon, 15 Feb 2016 07:35:29 +0000 (23:35 -0800)]
Fix bug #71540 - NULL pointer dereference in xsl_ext_function_php()

8 years agofix dir separator in test
Anatol Belski [Mon, 15 Feb 2016 07:58:20 +0000 (08:58 +0100)]
fix dir separator in test

8 years agofix NEWS entry
Anatol Belski [Mon, 15 Feb 2016 07:25:23 +0000 (08:25 +0100)]
fix NEWS entry

8 years agoFixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize
Stanislav Malyshev [Mon, 15 Feb 2016 06:34:39 +0000 (22:34 -0800)]
Fixed bug #71587 - Use-After-Free / Double-Free in WDDX Deserialize

8 years agoUpdate NEWS: "Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"
Xinchen Hui [Mon, 15 Feb 2016 02:31:37 +0000 (10:31 +0800)]
Update NEWS: "Fixed bug  #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"