]> granicus.if.org Git - php/log
php
8 years agoupdate NEWS
Anatol Belski [Tue, 13 Sep 2016 13:55:31 +0000 (15:55 +0200)]
update NEWS

8 years agoupdate NEWS
Anatol Belski [Tue, 13 Sep 2016 13:45:18 +0000 (15:45 +0200)]
update NEWS

8 years agoupgrade bundled sqlite to 3.14.2
Anatol Belski [Tue, 13 Sep 2016 13:42:33 +0000 (15:42 +0200)]
upgrade bundled sqlite to 3.14.2

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 13 Sep 2016 13:29:46 +0000 (15:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test for bug #73068

8 years agoadd test for bug #73068
Anatol Belski [Tue, 13 Sep 2016 13:28:28 +0000 (15:28 +0200)]
add test for bug #73068

8 years agoupdate NEWS
Anatol Belski [Tue, 13 Sep 2016 10:34:03 +0000 (12:34 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 13 Sep 2016 10:02:05 +0000 (12:02 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix test portability

8 years agofix test portability
Anatol Belski [Tue, 13 Sep 2016 10:00:29 +0000 (12:00 +0200)]
fix test portability

8 years agopick up the safe alloc pieces from
Anatol Belski [Tue, 13 Sep 2016 09:50:18 +0000 (11:50 +0200)]
pick up the safe alloc pieces from
19866fb76cf4c95d904ebb0e08592cf38303fae9

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 13 Sep 2016 08:54:54 +0000 (10:54 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  missed semicolon
  fix C89 conformity
  Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
  Fix test
  Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
  Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
  Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
  Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
  Fix bug #73029 - Missing type check when unserializing SplArray
  Fix bug #72860: wddx_deserialize use-after-free
  Also fix overflow in wordwrap
  Fix bug #73007: add locale length check
  Add more checks for int overflow
  Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
  Fix various int size overflows.

8 years agomissed semicolon
Anatol Belski [Tue, 13 Sep 2016 08:50:44 +0000 (10:50 +0200)]
missed semicolon

8 years agofix C89 conformity
Anatol Belski [Tue, 13 Sep 2016 08:43:51 +0000 (10:43 +0200)]
fix C89 conformity

8 years agoMerge branch 'PHP-7.0.11' into PHP-7.0
Stanislav Malyshev [Tue, 13 Sep 2016 04:09:30 +0000 (21:09 -0700)]
Merge branch 'PHP-7.0.11' into PHP-7.0

* PHP-7.0.11: (22 commits)
  Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
  I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed
  Fix test
  Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
  Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
  Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
  Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
  Fix bug #73029 - Missing type check when unserializing SplArray
  Fix bug #72860: wddx_deserialize use-after-free
  Fix bug #73007: add locale length check
  Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
  sync NEWS
  Revert "Merge branch 'PHP-5.6' into PHP-7.0"
  Merge branch 'PHP-5.6' into PHP-7.0
  Merge branch 'PHP-5.6' into PHP-7.0
  Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0""
  fix version
  sync NEWS
  Fix bug #72957
  set versions
  ...

8 years agoFix bug #72293 - Heap overflow in mysqlnd related to BIT fields
Stanislav Malyshev [Tue, 13 Sep 2016 03:25:08 +0000 (20:25 -0700)]
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields

8 years agoFix test
Stanislav Malyshev [Tue, 13 Sep 2016 03:12:41 +0000 (20:12 -0700)]
Fix test

8 years agoFix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Stanislav Malyshev [Mon, 12 Sep 2016 07:35:01 +0000 (00:35 -0700)]
Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c

8 years agoFix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Stanislav Malyshev [Mon, 12 Sep 2016 04:37:44 +0000 (21:37 -0700)]
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)

8 years agoFix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Stanislav Malyshev [Mon, 12 Sep 2016 04:19:29 +0000 (21:19 -0700)]
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction

8 years agoAdd check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Stanislav Malyshev [Mon, 12 Sep 2016 03:58:55 +0000 (20:58 -0700)]
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)

8 years agoFix bug #73029 - Missing type check when unserializing SplArray
Stanislav Malyshev [Mon, 12 Sep 2016 03:24:13 +0000 (20:24 -0700)]
Fix bug #73029 - Missing type check when unserializing SplArray

8 years agoFix bug #72860: wddx_deserialize use-after-free
Stanislav Malyshev [Tue, 6 Sep 2016 06:42:31 +0000 (23:42 -0700)]
Fix bug #72860: wddx_deserialize use-after-free

8 years agoAlso fix overflow in wordwrap
Stanislav Malyshev [Tue, 6 Sep 2016 01:10:51 +0000 (18:10 -0700)]
Also fix overflow in wordwrap

8 years agoFix bug #73007: add locale length check
Stanislav Malyshev [Tue, 6 Sep 2016 01:01:35 +0000 (18:01 -0700)]
Fix bug #73007: add locale length check

8 years agoAdd more checks for int overflow
Stanislav Malyshev [Mon, 5 Sep 2016 05:18:19 +0000 (22:18 -0700)]
Add more checks for int overflow

8 years agoFix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
Stanislav Malyshev [Mon, 5 Sep 2016 05:07:35 +0000 (22:07 -0700)]
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile

8 years agoFix various int size overflows.
Stanislav Malyshev [Fri, 2 Sep 2016 06:15:34 +0000 (23:15 -0700)]
Fix various int size overflows.

Add function for detection of string zvals with length that does not fit
INT_MAX.

8 years agoFix bug #72293 - Heap overflow in mysqlnd related to BIT fields
Stanislav Malyshev [Tue, 13 Sep 2016 03:28:50 +0000 (20:28 -0700)]
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields

8 years agoI don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed
Stanislav Malyshev [Tue, 13 Sep 2016 03:15:22 +0000 (20:15 -0700)]
I don't think 8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed

8 years agoFix test
Stanislav Malyshev [Tue, 13 Sep 2016 03:12:41 +0000 (20:12 -0700)]
Fix test

8 years agoFixed bug #73067 (__debugInfo crashes when throwing an exception)
Xinchen Hui [Tue, 13 Sep 2016 02:58:57 +0000 (10:58 +0800)]
Fixed bug #73067 (__debugInfo crashes when throwing an exception)

8 years agoNever quote values as raw binary data
Adam Baratz [Mon, 12 Sep 2016 21:32:50 +0000 (17:32 -0400)]
Never quote values as raw binary data

This reverts a1a18fca6e2a1690ea113dc2ebe0e7d22fdc71a0 which was intended to fix
bug #52885. That commit introduced a BC break which wasn't universally
desirable. The issue of quoting binary data (or NVARCHAR strings, or other
nonstandard types) will have to be addressed separately.

8 years agoAdd check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Anatol Belski [Mon, 12 Sep 2016 16:59:38 +0000 (18:59 +0200)]
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)

(cherry picked from commit 99ac11222cb2a4e9aa6a865f908b28def349c049)

Conflicts:
ext/standard/file.c

8 years agoFix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Stanislav Malyshev [Mon, 12 Sep 2016 07:35:01 +0000 (00:35 -0700)]
Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c

(cherry picked from commit bbaf784f8d213e201baf67e861f20b38c6e87d3b)

Conflicts:
ext/wddx/wddx.c

8 years agoFix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Stanislav Malyshev [Mon, 12 Sep 2016 04:37:44 +0000 (21:37 -0700)]
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)

(cherry picked from commit 75ebf471ff46ec6e5ee279b3650c11d51ebaf9e3)

8 years agoFix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Stanislav Malyshev [Mon, 12 Sep 2016 04:19:29 +0000 (21:19 -0700)]
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction

(cherry picked from commit b6e1e5e0b3e6221c7b14fa10cba30f5c5e719e1b)

Conflicts:
Zend/zend_objects_API.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re

8 years agoFix bug #73029 - Missing type check when unserializing SplArray
Stanislav Malyshev [Mon, 12 Sep 2016 03:24:13 +0000 (20:24 -0700)]
Fix bug #73029 - Missing type check when unserializing SplArray

(cherry picked from commit 6d16288150be33392a3249e417a0929881feb9a2)

Conflicts:
ext/spl/spl_array.c

8 years agoFix bug #72860: wddx_deserialize use-after-free
Stanislav Malyshev [Tue, 6 Sep 2016 06:42:31 +0000 (23:42 -0700)]
Fix bug #72860: wddx_deserialize use-after-free

(cherry picked from commit ee552853ff4d72f626102025133e2cd1575043ee)

Conflicts:
ext/wddx/wddx.c

8 years agoFix bug #73007: add locale length check
Stanislav Malyshev [Tue, 6 Sep 2016 01:01:35 +0000 (18:01 -0700)]
Fix bug #73007: add locale length check

(cherry picked from commit 9e07089626f373d0e7b24b7aeb8b8459aae5f5f8)

Conflicts:
ext/intl/msgformat/msgformat_format.c

8 years agoFix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
Stanislav Malyshev [Mon, 5 Sep 2016 05:07:35 +0000 (22:07 -0700)]
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile

(cherry picked from commit 19484ab77466f99c78fc0e677f7e03da0584d6a2)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 12 Sep 2016 11:27:57 +0000 (13:27 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoSkip regression test for issue that has not yet been released in libgd
Christoph M. Becker [Mon, 12 Sep 2016 11:21:34 +0000 (13:21 +0200)]
Skip regression test for issue that has not yet been released in libgd

<https://github.com/libgd/libgd/issues/177> has been assessed as enhancement,
so most likely it will be released with GD 2.3.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 12 Sep 2016 10:39:14 +0000 (12:39 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoSkip test for external GD because of not yet published bugfix
Christoph M. Becker [Mon, 12 Sep 2016 10:34:11 +0000 (12:34 +0200)]
Skip test for external GD because of not yet published bugfix

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sun, 11 Sep 2016 21:51:32 +0000 (23:51 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoSkip tests for unpatched external libgd regarding libvpx
Christoph M. Becker [Sun, 11 Sep 2016 21:49:09 +0000 (23:49 +0200)]
Skip tests for unpatched external libgd regarding libvpx

Some issues have never been fixed in the external libgd's libvpx binding,
so we skip the respective tests.

8 years agoRemove zpp fallback code (always use Fast ZPP)
Andrea Faulds [Sun, 11 Sep 2016 21:44:46 +0000 (22:44 +0100)]
Remove zpp fallback code (always use Fast ZPP)

Squashed commit of the following:

commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c
Author: Andrea Faulds <ajf@ajf.me>
Date:   Sun Sep 11 19:14:37 2016 +0100

    Keep dummy FAST_ZPP macro for compatibility

commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4
Author: Andrea Faulds <ajf@ajf.me>
Date:   Mon Sep 5 22:36:03 2016 +0100

    Remove FAST_ZPP macro and plain zpp fallback code

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sun, 11 Sep 2016 17:32:54 +0000 (19:32 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoSplit test for bundled vs. external libgd
Christoph M. Becker [Sun, 11 Sep 2016 17:30:55 +0000 (19:30 +0200)]
Split test for bundled vs. external libgd

The behavior of imagecropauto($im, IMG_CROP_DEFAULT) is rather different
for the bundled and an external libgd, see
<https://github.com/libgd/libgd/issues/298>.
Therefore we split the test for now.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sun, 11 Sep 2016 16:35:11 +0000 (18:35 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoMake test case more resilient
Christoph M. Becker [Sun, 11 Sep 2016 16:29:27 +0000 (18:29 +0200)]
Make test case more resilient

This test case fails with external libgd, because libgd < 2.2.4 converts
palette images to truecolor (<https://github.com/libgd/libgd/issues/297>).

However, even if there happens no truecolor conversion, it is not guaranteed
that the palette indexes of the original and the cropped image are identical
(this is, for instance, not the case with current libgd master where the bug
has been fixed). Therefore we check for the expected RGBA value instead of
the palette index.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sun, 11 Sep 2016 11:26:30 +0000 (13:26 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agofix bug category
Anatol Belski [Sun, 11 Sep 2016 11:20:25 +0000 (13:20 +0200)]
fix bug category

8 years agosync NEWS
Anatol Belski [Sun, 11 Sep 2016 11:19:17 +0000 (13:19 +0200)]
sync NEWS

8 years agoupdate NEWS
Anatol Belski [Sun, 11 Sep 2016 11:05:07 +0000 (13:05 +0200)]
update NEWS

8 years agoRevert "Merge branch 'PHP-5.6' into PHP-7.0"
Anatol Belski [Sun, 11 Sep 2016 10:47:49 +0000 (12:47 +0200)]
Revert "Merge branch 'PHP-5.6' into PHP-7.0"

This reverts commit 946335ba706b7dbfe70a5fc9a1e74ee46af19cfe, reversing
changes made to 3437dbfa0097d3c5be69d4efb26a2ecb3edf5168.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 31 Aug 2016 14:38:38 +0000 (16:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

(cherry picked from commit f93fd8ce3278923dce16b241aebe428a6b9aa79d)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 31 Aug 2016 12:53:53 +0000 (14:53 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

(cherry picked from commit 8f32d609c586fdaab200d50377eb8b2e2667d2d2)

8 years agoRevert "Revert "Merge branch 'PHP-5.6' into PHP-7.0""
Anatol Belski [Sun, 11 Sep 2016 10:36:58 +0000 (12:36 +0200)]
Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0""

This reverts commit 62d5bfb5277dd84e1a185c567982f2196cd19437.

8 years agoA picture is worth a thousand message digests
Christoph M. Becker [Sun, 19 Jun 2016 12:29:27 +0000 (14:29 +0200)]
A picture is worth a thousand message digests

The bundled GD test suites makes heavy use of md5() to verify the result
of drawing operations. This leads to fragile tests (even a slight change
in a PNG header would cause failure, and of course there is the
possibility of collisions), and even worse, eventual test failures are
rather unrevealing.

Therefore we replace all md5() verification with a simplistic
test_image_equals_file(), which is basically a simplified port of libgd's
gdTestImageCompareToFile(), adapted to the needs of PHPTs.

In the long run better tests helpers should be introduced (see also
<http://news.php.net/php.internals/94081>), but for now this solution
is preferable over the former.

(cherry picked from commit 24f9e96792518ec2a75f26b1eb2471dd7694f2b7)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sat, 10 Sep 2016 22:09:23 +0000 (00:09 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAdd regression test for bug #73053
Christoph M. Becker [Sat, 10 Sep 2016 22:06:45 +0000 (00:06 +0200)]
Add regression test for bug #73053

The test succeeds with libxml < 2.9.4, and is supposed to succeed with
libxml > 2.9.4. Unfortunately, we can't conditionally mark a test case
as XFAIL, so we're simply skipping the test for libxml 2.9.4 instead.

8 years agoupdate NEWS
Anatol Belski [Sat, 10 Sep 2016 09:04:00 +0000 (11:04 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sat, 10 Sep 2016 09:03:39 +0000 (11:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Sat, 10 Sep 2016 09:02:17 +0000 (11:02 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sat, 10 Sep 2016 00:44:21 +0000 (02:44 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Bug #73058 crypt broken when salt is 'too' long

8 years agoBug #73058 crypt broken when salt is 'too' long
Anatol Belski [Sat, 10 Sep 2016 00:39:28 +0000 (02:39 +0200)]
Bug #73058 crypt broken when salt is 'too' long

8 years agoDon't optimize (string) cast on arrays
Nikita Popov [Fri, 9 Sep 2016 14:36:26 +0000 (16:36 +0200)]
Don't optimize (string) cast on arrays

Otherwise we throw a notice during pass1_5 optimization.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 9 Sep 2016 14:30:26 +0000 (16:30 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoRemove ignored --FAIL-- section from test case
Christoph M. Becker [Fri, 9 Sep 2016 14:27:50 +0000 (16:27 +0200)]
Remove ignored --FAIL-- section from test case

This is just confusing.

8 years agoFix some block_pass bugs
Nikita Popov [Fri, 9 Sep 2016 13:58:36 +0000 (15:58 +0200)]
Fix some block_pass bugs

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 9 Sep 2016 12:33:01 +0000 (14:33 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73054: default option ignored when object passed to int filter
Christoph M. Becker [Fri, 9 Sep 2016 12:30:24 +0000 (14:30 +0200)]
Fix #73054: default option ignored when object passed to int filter

If an object that can't be converted to string is validated, we must not
bail out early, but rather check for a requested default value.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 9 Sep 2016 10:47:23 +0000 (12:47 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoPartially fix bug #67167 - Wrong return value...
Levi Morrison [Thu, 3 Sep 2015 00:23:26 +0000 (18:23 -0600)]
Partially fix bug #67167 - Wrong return value...

...from FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE

The remainer of the fix would require the filter functions to only
convert to string when it makes sense for that particular filter.

(cherry picked from commit 432dc527adcbc3bf4809f6315350300d42c16c52)

8 years agoUpdate NEWS
Yasuo Ohgaki [Fri, 9 Sep 2016 02:34:34 +0000 (11:34 +0900)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Yasuo Ohgaki [Fri, 9 Sep 2016 02:32:20 +0000 (11:32 +0900)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed Bug #68015 Session does not report invalid uid for files save handler

8 years agoFixed Bug #68015 Session does not report invalid uid for files save handler
Yasuo Ohgaki [Fri, 9 Sep 2016 02:30:33 +0000 (11:30 +0900)]
Fixed Bug #68015 Session does not report invalid uid for files save handler

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Thu, 8 Sep 2016 15:49:47 +0000 (17:49 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  backport 59444347 and 3d7343f6

8 years agobackport 59444347 and 3d7343f6
Anatol Belski [Thu, 8 Sep 2016 15:46:53 +0000 (17:46 +0200)]
backport 59444347 and 3d7343f6

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Yasuo Ohgaki [Thu, 8 Sep 2016 05:10:21 +0000 (14:10 +0900)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug26639.phpt

8 years agoFix bug26639.phpt
Yasuo Ohgaki [Thu, 8 Sep 2016 05:07:57 +0000 (14:07 +0900)]
Fix bug26639.phpt

8 years agoUpdate NEWS
Yasuo Ohgaki [Thu, 8 Sep 2016 04:35:35 +0000 (13:35 +0900)]
Update NEWS

8 years agoUpdate NEWS
Yasuo Ohgaki [Thu, 8 Sep 2016 04:35:30 +0000 (13:35 +0900)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Yasuo Ohgaki [Thu, 8 Sep 2016 04:32:31 +0000 (13:32 +0900)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix Bug #72992 mbstring.internal_encoding doesn't inherit default_charset

8 years agoFix Bug #72992 mbstring.internal_encoding doesn't inherit default_charset
Yasuo Ohgaki [Thu, 8 Sep 2016 04:16:50 +0000 (13:16 +0900)]
Fix Bug #72992 mbstring.internal_encoding doesn't inherit default_charset

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Tue, 6 Sep 2016 10:10:38 +0000 (12:10 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73025: Heap Buffer Overflow in virtual_popen of zend_virtual_cwd.c
Christoph M. Becker [Tue, 6 Sep 2016 10:05:22 +0000 (12:05 +0200)]
Fix #73025: Heap Buffer Overflow in virtual_popen of zend_virtual_cwd.c

`command_length` is retrieved via strlen() and later passed to emalloc()
and memcpy(), so the appropriate type is `size_t`.

We don't add a regression test, because that would need to allocate a string
of at least 2 GiB.

8 years agoUpdate NEWS
Yasuo Ohgaki [Tue, 6 Sep 2016 09:29:20 +0000 (18:29 +0900)]
Update NEWS

8 years agoUpdate NEWS
Yasuo Ohgaki [Tue, 6 Sep 2016 09:28:45 +0000 (18:28 +0900)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Yasuo Ohgaki [Tue, 6 Sep 2016 07:41:52 +0000 (16:41 +0900)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed Bug #66964 mb_convert_variables() cannot detect recursion

8 years agoFixed Bug #66964 mb_convert_variables() cannot detect recursion
Yasuo Ohgaki [Tue, 6 Sep 2016 07:05:34 +0000 (16:05 +0900)]
Fixed Bug #66964 mb_convert_variables() cannot detect recursion

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 5 Sep 2016 23:07:15 +0000 (01:07 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #70752: Depacking with wrong password leaves 0 length files
Christoph M. Becker [Mon, 5 Sep 2016 22:28:28 +0000 (00:28 +0200)]
Fix #70752: Depacking with wrong password leaves 0 length files

We should not open the output stream before we have tried to open the
archive entry, as failing the latter could leave an empty file behind.

8 years agoUnbreak FAST_ZPP dead code
Andrea Faulds [Mon, 5 Sep 2016 21:12:26 +0000 (22:12 +0100)]
Unbreak FAST_ZPP dead code

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Mon, 5 Sep 2016 15:03:51 +0000 (17:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  Fixes #72590: Opcache restart with kill_all_lockers does not work

8 years agoUpdated NEWS
Julien Pauli [Mon, 5 Sep 2016 15:03:29 +0000 (17:03 +0200)]
Updated NEWS

8 years agoFixes #72590: Opcache restart with kill_all_lockers does not work
Keyur [Wed, 13 Jul 2016 02:47:46 +0000 (02:47 +0000)]
Fixes #72590: Opcache restart with kill_all_lockers does not work

ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Mon, 5 Sep 2016 12:22:29 +0000 (14:22 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

[ci skip]

8 years agoLimit editorconfig to C code
Nikita Popov [Mon, 5 Sep 2016 12:21:43 +0000 (14:21 +0200)]
Limit editorconfig to C code

PHPT files do not follow this.

[ci skip]

8 years agoUpdated NEWS
Julien Pauli [Mon, 5 Sep 2016 08:18:39 +0000 (10:18 +0200)]
Updated NEWS