]> granicus.if.org Git - php/log
php
8 years agoadd missing entry
Anatol Belski [Wed, 9 Nov 2016 20:37:04 +0000 (21:37 +0100)]
add missing entry

8 years agoimprove lib name guessing for newer libtidy
Anatol Belski [Wed, 9 Nov 2016 10:28:50 +0000 (11:28 +0100)]
improve lib name guessing for newer libtidy

FreeBSD calls it tidy5. Still, the check is not perfect, as both
old and new lib can coexist. ATM, the preference is to pick up the
old lib, still. In it's absense the new one will be looked up.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Wed, 9 Nov 2016 10:20:20 +0000 (11:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  sync NEWS

8 years agosync NEWS
Anatol Belski [Wed, 9 Nov 2016 10:19:13 +0000 (11:19 +0100)]
sync NEWS

8 years agoRemove binary casts from PHAR's default stub
Pedro Magalhães [Sun, 6 Nov 2016 22:11:57 +0000 (23:11 +0100)]
Remove binary casts from PHAR's default stub

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Wed, 9 Nov 2016 01:18:18 +0000 (02:18 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 9 Nov 2016 01:16:32 +0000 (02:16 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoadd missing NEWS entries
Ferenc Kovacs [Wed, 9 Nov 2016 01:12:16 +0000 (02:12 +0100)]
add missing NEWS entries

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 8 Nov 2016 11:17:39 +0000 (12:17 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix memory leak

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 8 Nov 2016 11:16:39 +0000 (12:16 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix memory leak

8 years agofix memory leak
Anatol Belski [Tue, 8 Nov 2016 11:12:58 +0000 (12:12 +0100)]
fix memory leak

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 8 Nov 2016 10:15:06 +0000 (11:15 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
  Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
  Fix #72696: imagefilltoborder stackoverflow on truecolor images
  Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
  Fix bug #73144 and bug #73341 - remove extra dtor
  remove unreferenced var came in with merge
  Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
  Fix #72696: imagefilltoborder stackoverflow on truecolor images
  Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
  fix version
  set versions
  Fix bug #73144 and bug #73341 - remove extra dtor
  Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle

8 years agoMerge remote-tracking branch 'phpsec/PHP-7.0.13' into PHP-7.0
Anatol Belski [Tue, 8 Nov 2016 10:13:29 +0000 (11:13 +0100)]
Merge remote-tracking branch 'phpsec/PHP-7.0.13' into PHP-7.0

* phpsec/PHP-7.0.13:
  Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
  Fix #72696: imagefilltoborder stackoverflow on truecolor images
  Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
  Fix bug #73144 and bug #73341 - remove extra dtor
  remove unreferenced var came in with merge
  Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
  fix version
  set versions

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 8 Nov 2016 10:11:22 +0000 (11:11 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
  Fix #72696: imagefilltoborder stackoverflow on truecolor images
  Fix #72482: Ilegal write/read access caused by gdImageAALine overflow
  Fix bug #73144 and bug #73341 - remove extra dtor
  Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle

8 years agoMerge remote-tracking branch 'phpsec/PHP-5.6.28' into PHP-5.6
Anatol Belski [Tue, 8 Nov 2016 10:06:52 +0000 (11:06 +0100)]
Merge remote-tracking branch 'phpsec/PHP-5.6.28' into PHP-5.6

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 8 Nov 2016 01:35:33 +0000 (02:35 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Enable FTS4 and FTS5 for bundled libsqlite

8 years agoEnable FTS4 and FTS5 for bundled libsqlite
Anatol Belski [Tue, 8 Nov 2016 01:26:43 +0000 (02:26 +0100)]
Enable FTS4 and FTS5 for bundled libsqlite

FTS3 is already enabled by default, and the other FTS versions
seems just to have been missed. Given that, the other FTS plugins
look like a low impact so worth a try. The current bundled libsqlite
versions in 7.x are proven stable already and support FTS5.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 7 Nov 2016 20:19:04 +0000 (21:19 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  avoid unneeded copying

8 years agoavoid unneeded copying
Anatol Belski [Mon, 7 Nov 2016 20:09:03 +0000 (21:09 +0100)]
avoid unneeded copying

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 7 Nov 2016 19:48:41 +0000 (20:48 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 7 Nov 2016 19:48:13 +0000 (20:48 +0100)]
update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 7 Nov 2016 19:47:06 +0000 (20:47 +0100)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 7 Nov 2016 19:40:46 +0000 (20:40 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Add test for bug #73448

8 years agoAdd test for bug #73448
Anatol Belski [Mon, 7 Nov 2016 19:39:51 +0000 (20:39 +0100)]
Add test for bug #73448

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 7 Nov 2016 19:21:56 +0000 (20:21 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73448 odbc_errormsg returns trash, always 513 bytes

8 years agoFixed bug #73448 odbc_errormsg returns trash, always 513 bytes
Anatol Belski [Mon, 7 Nov 2016 19:18:29 +0000 (20:18 +0100)]
Fixed bug #73448 odbc_errormsg returns trash, always 513 bytes

8 years agoAdd hint that naive DateTime comparisions now are more likely to fail
Derick Rethans [Mon, 7 Nov 2016 16:40:42 +0000 (16:40 +0000)]
Add hint that naive DateTime comparisions now are more likely to fail

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Sun, 6 Nov 2016 20:44:40 +0000 (20:44 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Sun, 6 Nov 2016 20:43:50 +0000 (20:43 +0000)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix bug #72776 (Invalid parameter in memcpy function trough openssl_pbkdf2)
Jakub Zelenka [Sun, 6 Nov 2016 20:40:51 +0000 (20:40 +0000)]
Fix bug #72776 (Invalid parameter in memcpy function trough openssl_pbkdf2)

8 years agoNever return private part of the key from openssl_csr_get_public_key
Jakub Zelenka [Sun, 6 Nov 2016 17:37:06 +0000 (17:37 +0000)]
Never return private part of the key from openssl_csr_get_public_key

This fixes ecc.phpt test when OpenSSL 1.1 linked.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 6 Nov 2016 16:57:19 +0000 (17:57 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  add missing RETURN_STRINGL_CHECK

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sun, 6 Nov 2016 16:56:14 +0000 (17:56 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add missing RETURN_STRINGL_CHECK

8 years agoadd missing RETURN_STRINGL_CHECK
Anatol Belski [Sun, 6 Nov 2016 16:51:25 +0000 (17:51 +0100)]
add missing RETURN_STRINGL_CHECK

As RETVAL_STRINGL_CHECK is already there, this one is needed for
completion. One place in ext/bz2 is missing that, so it will likely
be useful for other possible fixes.

8 years agoupdate NEWS
Anatol Belski [Sun, 6 Nov 2016 16:12:46 +0000 (17:12 +0100)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 6 Nov 2016 16:12:18 +0000 (17:12 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Sun, 6 Nov 2016 16:11:19 +0000 (17:11 +0100)]
update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 5 Nov 2016 22:10:19 +0000 (23:10 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoComplete the fix of bug #70172 for PHP 7
Nikita Popov [Sun, 23 Oct 2016 19:37:36 +0000 (21:37 +0200)]
Complete the fix of bug #70172 for PHP 7

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sat, 5 Nov 2016 21:54:44 +0000 (22:54 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix blob parameters binding. Fixes: #73087, #61183, #71494

8 years agoFix blob parameters binding. Fixes: #73087, #61183, #71494
Dorin Marcoci [Fri, 4 Nov 2016 11:15:01 +0000 (13:15 +0200)]
Fix blob parameters binding. Fixes: #73087, #61183, #71494

Adjusted formatting according to requirements

Test case for bug #73087

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Sat, 5 Nov 2016 21:00:53 +0000 (14:00 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  More int->size_t and string overflow fixes

8 years agoMore int->size_t and string overflow fixes
Stanislav Malyshev [Sat, 5 Nov 2016 20:20:24 +0000 (13:20 -0700)]
More int->size_t and string overflow fixes

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Sat, 5 Nov 2016 20:59:35 +0000 (13:59 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  More int->size_t and string overflow fixes

8 years agoMore int->size_t and string overflow fixes
Stanislav Malyshev [Sat, 5 Nov 2016 20:20:24 +0000 (13:20 -0700)]
More int->size_t and string overflow fixes

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 4 Nov 2016 17:43:56 +0000 (18:43 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  rename the tmp ini file, to keep it consistent with m4 variant

8 years agorename the tmp ini file, to keep it consistent with m4 variant
Anatol Belski [Fri, 4 Nov 2016 17:42:36 +0000 (18:42 +0100)]
rename the tmp ini file, to keep it consistent with m4 variant

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 4 Nov 2016 17:39:09 +0000 (18:39 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix dir separator in test

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Fri, 4 Nov 2016 17:38:22 +0000 (18:38 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix dir separator in test

8 years agofix dir separator in test
Anatol Belski [Fri, 4 Nov 2016 17:29:54 +0000 (18:29 +0100)]
fix dir separator in test

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Fri, 4 Nov 2016 12:11:29 +0000 (13:11 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix dir separator

8 years agofix dir separator
Anatol Belski [Fri, 4 Nov 2016 12:10:52 +0000 (13:10 +0100)]
fix dir separator

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Stanislav Malyshev [Fri, 4 Nov 2016 05:53:05 +0000 (22:53 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Add length check for bzcompress too - fix for bug #73356
  More string length checks & fixes
  More string length checks & fixes

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Fri, 4 Nov 2016 05:12:23 +0000 (22:12 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Add length check for bzcompress too - fix for bug #73356

8 years agoAdd length check for bzcompress too - fix for bug #73356
Stanislav Malyshev [Fri, 4 Nov 2016 05:10:22 +0000 (22:10 -0700)]
Add length check for bzcompress too - fix for bug #73356

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Fri, 4 Nov 2016 05:05:25 +0000 (22:05 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  More string length checks & fixes

8 years agoMore string length checks & fixes
Stanislav Malyshev [Fri, 4 Nov 2016 03:36:52 +0000 (20:36 -0700)]
More string length checks & fixes

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Fri, 4 Nov 2016 03:45:13 +0000 (20:45 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  More string length checks & fixes

8 years agoMore string length checks & fixes
Stanislav Malyshev [Fri, 4 Nov 2016 03:36:52 +0000 (20:36 -0700)]
More string length checks & fixes

8 years agoUpdated to version 2016.9 (2016i)
Derick Rethans [Thu, 3 Nov 2016 17:57:32 +0000 (13:57 -0400)]
Updated to version 2016.9 (2016i)

8 years agoEmpty merge
Derick Rethans [Thu, 3 Nov 2016 17:57:32 +0000 (13:57 -0400)]
Empty merge

8 years agoUpdated to version 2016.9 (2016i)
Derick Rethans [Thu, 3 Nov 2016 17:57:31 +0000 (13:57 -0400)]
Updated to version 2016.9 (2016i)

8 years agoEmpty merge
Derick Rethans [Thu, 3 Nov 2016 17:57:30 +0000 (13:57 -0400)]
Empty merge

8 years agoUpdated to version 2016.9 (2016i)
Derick Rethans [Thu, 3 Nov 2016 17:57:28 +0000 (13:57 -0400)]
Updated to version 2016.9 (2016i)

8 years agoFixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
Anatol Belski [Thu, 3 Nov 2016 16:03:23 +0000 (17:03 +0100)]
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash

(cherry picked from commit 99b242a6d093bca1f64084866b4491061de57553)

8 years agoFixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash
Anatol Belski [Thu, 3 Nov 2016 16:03:23 +0000 (17:03 +0100)]
Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash

8 years agoUpdate NEWS
Xinchen Hui [Wed, 2 Nov 2016 04:12:12 +0000 (12:12 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Wed, 2 Nov 2016 04:11:48 +0000 (12:11 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73423 (Reproducible crash with GDB backtrace)

8 years agoFixed bug #73423 (Reproducible crash with GDB backtrace)
Xinchen Hui [Wed, 2 Nov 2016 04:11:30 +0000 (12:11 +0800)]
Fixed bug #73423 (Reproducible crash with GDB backtrace)

8 years agoIntriduced ZEND_ACC_INHERITED class flag.
Dmitry Stogov [Tue, 1 Nov 2016 19:56:25 +0000 (22:56 +0300)]
Intriduced ZEND_ACC_INHERITED class flag.
It's going to be helpful for static optimisations, when "parent" is not known yet.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christoph M. Becker [Tue, 1 Nov 2016 19:29:11 +0000 (20:29 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Tue, 1 Nov 2016 19:24:10 +0000 (20:24 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73436: Setting allow_url_fopen to Off makes several tests fail
Christoph M. Becker [Tue, 1 Nov 2016 19:13:53 +0000 (20:13 +0100)]
Fix #73436: Setting allow_url_fopen to Off makes several tests fail

We make sure that these tests run with allow_url_fopen=1.

8 years agoChange Big Endian backup implementations to use signed indexes
Sara Golemon [Wed, 12 Oct 2016 03:43:02 +0000 (20:43 -0700)]
Change Big Endian backup implementations to use signed indexes

load64() counted down from 7..0, but the decrement turned 0 into 255.
This means the loop would never terminate on Big Endian systems.

Just use signed char integers since we're only dealing with values from 0..7 anyway.

Closes https://bugs.php.net/bug.php?id=73282

8 years agoFixed reference-counter inference
Dmitry Stogov [Tue, 1 Nov 2016 16:04:10 +0000 (19:04 +0300)]
Fixed reference-counter inference

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 1 Nov 2016 13:02:04 +0000 (14:02 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  add run target

8 years agoadd run target
Anatol Belski [Tue, 1 Nov 2016 12:50:46 +0000 (13:50 +0100)]
add run target

With this it is possible to run some code with the currently compiled
PHP and all the required environment included.

8 years agoFix #72696: imagefilltoborder stackoverflow on truecolor images
Christoph M. Becker [Tue, 25 Oct 2016 11:23:16 +0000 (13:23 +0200)]
Fix #72696: imagefilltoborder stackoverflow on truecolor images

We must not allow negative color values be passed to
gdImageFillToBorder(), because that can lead to infinite recursion
since the recursion termination condition will not necessarily be met.

(cherry picked from commit 863d37ea66d5c960db08d6f4a2cbd2518f0f80d1)

8 years agoFix #72482: Ilegal write/read access caused by gdImageAALine overflow
Christoph M. Becker [Tue, 25 Oct 2016 13:14:22 +0000 (15:14 +0200)]
Fix #72482: Ilegal write/read access caused by gdImageAALine overflow

Instead of rolling our own bounds check we use clip_1d() as it's done
in gdImageLine() and in external libgd. We must not pass the image
width and height, respectively, but rather the largest ordinate value
that is allowed to be accessed, i.e. width-1 and height-1,
respectively.

(cherry picked from commit 6499581af76cfe986e12330faabb3a7c36d45ffc)

8 years agoFix bug #73144 and bug #73341 - remove extra dtor
Stanislav Malyshev [Mon, 24 Oct 2016 04:56:35 +0000 (21:56 -0700)]
Fix bug #73144 and bug #73341 - remove extra dtor

(cherry picked from commit f74d7d92c8bc1edc2505e0b58546217e9e1ecb40)

Conflicts:
ext/spl/spl_array.c

Merged the test only, in 7.0 tree the removed dtor call is already
not present.

8 years agoremove unreferenced var came in with merge
Anatol Belski [Tue, 1 Nov 2016 11:55:05 +0000 (12:55 +0100)]
remove unreferenced var came in with merge

8 years agoFix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
Stanislav Malyshev [Mon, 24 Oct 2016 03:07:47 +0000 (20:07 -0700)]
Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle

Proper soltion would be to call serialize/unserialize and deal with the result,
but this requires more work that should be done by wddx maintainer (not me).

(cherry picked from commit 6045de69c7dedcba3eadf7c4bba424b19c81d00d)

Conflicts:
ext/wddx/wddx.c

8 years agoFixed reference-counter inference
Dmitry Stogov [Mon, 31 Oct 2016 21:18:12 +0000 (00:18 +0300)]
Fixed reference-counter inference

8 years agotypo
Dmitry Stogov [Mon, 31 Oct 2016 18:39:34 +0000 (21:39 +0300)]
typo

8 years agoFixed reference-counter inference
Dmitry Stogov [Mon, 31 Oct 2016 16:51:19 +0000 (19:51 +0300)]
Fixed reference-counter inference

8 years ago- Fixed bug #73426: createFromFormat with 'z' format char results in incorrect time.
Derick Rethans [Mon, 31 Oct 2016 10:43:33 +0000 (10:43 +0000)]
- Fixed bug #73426: createFromFormat with 'z' format char results in incorrect time.

8 years agoMerge branch 'pull-request/2179' into PHP-7.1
Stanislav Malyshev [Mon, 31 Oct 2016 00:11:18 +0000 (17:11 -0700)]
Merge branch 'pull-request/2179' into PHP-7.1

* pull-request/2179:
  Typo

8 years agoFix #72696: imagefilltoborder stackoverflow on truecolor images
Christoph M. Becker [Tue, 25 Oct 2016 11:23:16 +0000 (13:23 +0200)]
Fix #72696: imagefilltoborder stackoverflow on truecolor images

We must not allow negative color values be passed to
gdImageFillToBorder(), because that can lead to infinite recursion
since the recursion termination condition will not necessarily be met.

8 years agoFix #72482: Ilegal write/read access caused by gdImageAALine overflow
Christoph M. Becker [Tue, 25 Oct 2016 13:14:22 +0000 (15:14 +0200)]
Fix #72482: Ilegal write/read access caused by gdImageAALine overflow

Instead of rolling our own bounds check we use clip_1d() as it's done
in gdImageLine() and in external libgd. We must not pass the image
width and height, respectively, but rather the largest ordinate value
that is allowed to be accessed, i.e. width-1 and height-1,
respectively.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 30 Oct 2016 20:27:35 +0000 (21:27 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  prefer symbols read from the bin to those matching the naming scheme

8 years agoprefer symbols read from the bin to those matching the naming scheme
Anatol Belski [Sun, 30 Oct 2016 20:22:24 +0000 (21:22 +0100)]
prefer symbols read from the bin to those matching the naming scheme

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 30 Oct 2016 20:13:55 +0000 (21:13 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  remove debug out

8 years agoremove debug out
Anatol Belski [Sun, 30 Oct 2016 20:12:50 +0000 (21:12 +0100)]
remove debug out

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 30 Oct 2016 20:07:20 +0000 (21:07 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix link with deps pdb availability

8 years agofix link with deps pdb availability
Anatol Belski [Sun, 30 Oct 2016 19:55:38 +0000 (20:55 +0100)]
fix link with deps pdb availability

Unlike debugger, linker is currently not able to read the pdb files,
even if they're put onto path. As result, a lot of LNK4099 warnings
and in some cases also missing debug information in the end binaries.
This is solved by copying the relevant pdb into the build dir, which
then can be picked up on link time. This also leads to the inclusion
of those pdb files into the debug package, so symbols won't be missed
in crash dumps. As otherwise the debug info for dependencies is only
contained in the dependency packages.

8 years agoDefine X509_get_signature_nid for LibreSSL
Jakub Zelenka [Sun, 30 Oct 2016 19:12:24 +0000 (19:12 +0000)]
Define X509_get_signature_nid for LibreSSL

It should hopefully fix the LibreSSL build. Thanks to Alice Wonder!

8 years agoFix EC_KEY memory leaks
Jakub Zelenka [Sun, 30 Oct 2016 18:58:11 +0000 (18:58 +0000)]
Fix EC_KEY memory leaks

It was caused by using of EVP_PKEY_get1_EC_KEY which increments an EC_KEY
reference. The fix it we simply use EVP_PKEY_get0_EC_KEY.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 30 Oct 2016 14:30:17 +0000 (15:30 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  use rather the makefile var
  rename the env setting target and reuse it for build-snap

8 years agouse rather the makefile var
Anatol Belski [Sun, 30 Oct 2016 14:28:56 +0000 (15:28 +0100)]
use rather the makefile var

8 years agorename the env setting target and reuse it for build-snap
Anatol Belski [Sun, 30 Oct 2016 14:22:45 +0000 (15:22 +0100)]
rename the env setting target and reuse it for build-snap