]> granicus.if.org Git - php/log
php
8 years agoFix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()
Stanislav Malyshev [Tue, 11 Oct 2016 20:30:52 +0000 (13:30 -0700)]
Fix bug #73293 - NULL pointer dereference in SimpleXMLElement::asXML()

(cherry picked from commit 96a8cf8e1b5dc1b0c708bb5574e0d6727cc56d9e)

8 years agoFix for #73240 - Write out of bounds at number_format
Stanislav Malyshev [Tue, 11 Oct 2016 06:42:50 +0000 (23:42 -0700)]
Fix for #73240 - Write out of bounds at number_format

(cherry picked from commit 8259130b6bc752968856b352c9e7f8e03a8c0a8e)

8 years agoavoid strlen
Anatol Belski [Wed, 12 Oct 2016 11:28:23 +0000 (13:28 +0200)]
avoid strlen

8 years agoBug #73218: add mitigation for ICU int overflow
Stanislav Malyshev [Wed, 5 Oct 2016 05:40:09 +0000 (22:40 -0700)]
Bug #73218: add mitigation for ICU int overflow

(cherry picked from commit d946d102936525bc7dcd01f3827d0a6e0bb971b0)

8 years agoAdd more locale length checks, due to ICU bugs.
Stanislav Malyshev [Wed, 5 Oct 2016 04:28:40 +0000 (21:28 -0700)]
Add more locale length checks, due to ICU bugs.

(cherry picked from commit d3eb58332af433982f1e2ae9095fb087974a95f2)

8 years agoFix bug #73150: missing NULL check in dom_document_save_html
Stanislav Malyshev [Mon, 26 Sep 2016 04:25:01 +0000 (21:25 -0700)]
Fix bug #73150: missing NULL check in dom_document_save_html

(cherry picked from commit 1c0e9126fbfb7fde3173347b7464237f56c38bfa)

8 years agoClear FG(user_stream_current_filename) when bailing out
Sara Golemon [Wed, 12 Oct 2016 04:35:10 +0000 (21:35 -0700)]
Clear FG(user_stream_current_filename) when bailing out

If a userwrapper opener E_ERRORs then FG(user_stream_current_filename)
would remain set until the next request and would not be pointing
at unallocated memory.

Catch the bailout, clear the variable, then continue bailing.

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

8 years agoMerge branch 'PHP-7.0.12' into PHP-7.0
Stanislav Malyshev [Tue, 11 Oct 2016 23:46:51 +0000 (16:46 -0700)]
Merge branch 'PHP-7.0.12' into PHP-7.0

* PHP-7.0.12:
  set versions and release date
  sync NEWS
  Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
  Fix for #73240 - Write out of bounds at number_format
  Fix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object as key
  set versions
  Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation

8 years agoMerge remote-tracking branch 'origin/PHP-7.0.12' into PHP-7.0.12
Stanislav Malyshev [Tue, 11 Oct 2016 23:27:13 +0000 (16:27 -0700)]
Merge remote-tracking branch 'origin/PHP-7.0.12' into PHP-7.0.12

* origin/PHP-7.0.12: (99 commits)
  set versions and release date
  sync NEWS
  Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
  set versions
  update NEWS
  Ignore potentially misleading dberr values
  update NEWS
  Fixed bug #73172 parse error: Invalid numeric literal
  Fix #53745: cgi.discard_path option is missing from php.ini
  update libs_versions.txt
  update libs_versions.txt
  Fixed bug #73156 (segfault on undefined function)
  Add an include path for freetype which is relevant for cmake builds
  Fix test_image_equals_file() wrt. palette images
  Fixed bug #73163
  Fix #73161: imagecreatefromgd2() may leak memory
  Fix #73159: imagegd2(): unrecognized formats may result in corrupted files
  Fix #73155: imagegd2() writes wrong chunk sizes on boundaries
  Fix #73157 (again): imagegd2() ignores 3rd param if 4 are given
  Fix #73157: imagegd2() ignores 3rd param if 4 are given
  ...

8 years agoupdate NEWS
Anatol Belski [Tue, 11 Oct 2016 09:41:45 +0000 (11:41 +0200)]
update NEWS

8 years agoset versions and release date
Anatol Belski [Tue, 11 Oct 2016 09:26:32 +0000 (11:26 +0200)]
set versions and release date

8 years agosync NEWS
Anatol Belski [Tue, 11 Oct 2016 09:25:00 +0000 (11:25 +0200)]
sync NEWS

8 years agoRevert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
Anatol Belski [Tue, 11 Oct 2016 09:24:08 +0000 (11:24 +0200)]
Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"

This reverts commit 2d8ab51576695630a7471ff829cc5ea10becdc0f.

8 years agoFix for #73240 - Write out of bounds at number_format
Stanislav Malyshev [Tue, 11 Oct 2016 06:42:50 +0000 (23:42 -0700)]
Fix for #73240 - Write out of bounds at number_format

8 years agoFix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object...
Stanislav Malyshev [Tue, 11 Oct 2016 05:54:29 +0000 (22:54 -0700)]
Fix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object as key

8 years agoupdate NEWS
Anatol Belski [Mon, 10 Oct 2016 18:57:57 +0000 (20:57 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 10 Oct 2016 18:57:23 +0000 (20:57 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 10 Oct 2016 18:55:44 +0000 (20:55 +0200)]
update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 10 Oct 2016 14:02:30 +0000 (16:02 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test for bug #73037

8 years agoadd test for bug #73037
Anatol Belski [Mon, 10 Oct 2016 13:59:52 +0000 (15:59 +0200)]
add test for bug #73037

8 years agoFixed bug #73273
Nikita Popov [Mon, 10 Oct 2016 10:17:40 +0000 (12:17 +0200)]
Fixed bug #73273

As well as a few other $_SESSION separation issues.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 10 Oct 2016 09:44:58 +0000 (11:44 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73279: Integer overflow in gdImageScaleBilinearPalette()
Christoph M. Becker [Mon, 10 Oct 2016 09:40:16 +0000 (11:40 +0200)]
Fix #73279: Integer overflow in gdImageScaleBilinearPalette()

The color components are supposed to be in range 0..255, so we must not
cast them to `signed char`, what can be the default for `char`.

Port of <https://github.com/libgd/libgd/commit/77c8d359>.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sun, 9 Oct 2016 13:13:32 +0000 (15:13 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73272: imagescale() affects imagesetinterpolation()
Christoph M. Becker [Sun, 9 Oct 2016 12:59:37 +0000 (14:59 +0200)]
Fix #73272: imagescale() affects imagesetinterpolation()

We must not permanently change the interpolation method, but rather
have to restore the old method after we're done with scaling the image.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Sat, 8 Oct 2016 17:25:36 +0000 (19:25 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  fix leak

8 years agofix leak
Anatol Belski [Sat, 8 Oct 2016 17:07:35 +0000 (19:07 +0200)]
fix leak

8 years agoFix bug #66773, #66862
Nikita Popov [Sat, 8 Oct 2016 14:56:17 +0000 (16:56 +0200)]
Fix bug #66773, #66862

This a partial backport of 8754b19. It
a) fixes the class/function/constant import table confusion in the
   namespaced case, and
b) restricts conflict checks to a single file based on a filename
   pointer comparison.

It does not fix the issues with filename reuse (e.g. due to eval)
and late-bound classes. This part of the change requires globals
changes.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Fri, 7 Oct 2016 23:06:02 +0000 (01:06 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix bug #73192
Nikita Popov [Fri, 7 Oct 2016 23:04:22 +0000 (01:04 +0200)]
Fix bug #73192

8 years agoRevert "Fixed test"
Nikita Popov [Fri, 7 Oct 2016 22:43:36 +0000 (00:43 +0200)]
Revert "Fixed test"

This reverts commit a10d03ac166daba646b6023e0f12e9ee8040c909.

8 years agoRevert "Added validation to parse_url() to prohibit restricted characters inside...
Nikita Popov [Fri, 7 Oct 2016 22:43:17 +0000 (00:43 +0200)]
Revert "Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986"

This reverts commit 085dfca02b64588317a233eb191d07a75511fff2.

8 years agoDocument that ext/shmop deals with resources as of PHP 7.0.0
Christoph M. Becker [Fri, 7 Oct 2016 14:35:37 +0000 (16:35 +0200)]
Document that ext/shmop deals with resources as of PHP 7.0.0

Second attempt

8 years agofix datatype
Anatol Belski [Thu, 6 Oct 2016 09:01:27 +0000 (11:01 +0200)]
fix datatype

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Wed, 5 Oct 2016 13:03:38 +0000 (15:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #73037, second round

8 years agoFix bug #73037, second round
Anatol Belski [Wed, 5 Oct 2016 12:54:06 +0000 (14:54 +0200)]
Fix bug #73037, second round

8 years agoUpdate run command for allowing STDIN
Bob Weinand [Wed, 5 Oct 2016 10:14:02 +0000 (12:14 +0200)]
Update run command for allowing STDIN

8 years agoRemove phpdbg fix targeting 7.1 which landed in 7.0
Bob Weinand [Wed, 5 Oct 2016 10:08:20 +0000 (12:08 +0200)]
Remove phpdbg fix targeting 7.1 which landed in 7.0

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Wed, 5 Oct 2016 04:56:28 +0000 (21:56 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed test
  Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
  Apparently negative wordwrap is a thing and should work as length = 0.

8 years agoFixed test
Ilia Alshanetsky [Wed, 28 Oct 2015 22:38:54 +0000 (18:38 -0400)]
Fixed test

8 years agoAdded validation to parse_url() to prohibit restricted characters inside login/pass...
Ilia Alshanetsky [Tue, 27 Oct 2015 16:40:53 +0000 (12:40 -0400)]
Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986

8 years agoApparently negative wordwrap is a thing and should work as length = 0.
Stanislav Malyshev [Tue, 4 Oct 2016 02:17:42 +0000 (19:17 -0700)]
Apparently negative wordwrap is a thing and should work as length = 0.

I'll leave it as is for now.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Stanislav Malyshev [Tue, 4 Oct 2016 01:37:24 +0000 (18:37 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Really fix bug #73017

8 years agoReally fix bug #73017
Stanislav Malyshev [Tue, 4 Oct 2016 01:06:59 +0000 (18:06 -0700)]
Really fix bug #73017

8 years agoFix crash on Linux due to double fclose()
Bob Weinand [Mon, 3 Oct 2016 10:55:06 +0000 (12:55 +0200)]
Fix crash on Linux due to double fclose()

8 years agoFix run command args passing when inmidst execution
Bob Weinand [Sun, 2 Oct 2016 11:45:20 +0000 (12:45 +0100)]
Fix run command args passing when inmidst execution

8 years agoAdd proper escape sequences and reading stdin from file in phpdbg run command
Bob Weinand [Sat, 1 Oct 2016 17:54:44 +0000 (18:54 +0100)]
Add proper escape sequences and reading stdin from file in phpdbg run command

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 1 Oct 2016 17:05:48 +0000 (19:05 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix leak in zend_exception_error
Nikita Popov [Sat, 1 Oct 2016 17:03:54 +0000 (19:03 +0200)]
Fix leak in zend_exception_error

Only occurs if a non-fatal severity level is used, e.g. when using
interactive mode.

8 years agoFix invalid access to interned strings after they are freed in phpdbg
Bob Weinand [Sat, 1 Oct 2016 09:46:21 +0000 (10:46 +0100)]
Fix invalid access to interned strings after they are freed in phpdbg

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 30 Sep 2016 21:46:28 +0000 (23:46 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73213: Integer overflow in imageline() with antialiasing
Christoph M. Becker [Fri, 30 Sep 2016 21:25:23 +0000 (23:25 +0200)]
Fix #73213: Integer overflow in imageline() with antialiasing

We port the respective fixes <https://github.com/libgd/libgd/commit/eca37d620>
and <https://github.com/libgd/libgd/commit/837b7327> to our bundled libgd.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Fri, 30 Sep 2016 19:49:53 +0000 (20:49 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFixed tests due to changes in underlaying data
Derick Rethans [Fri, 30 Sep 2016 19:49:44 +0000 (20:49 +0100)]
Fixed tests due to changes in underlaying data

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Fri, 30 Sep 2016 19:31:05 +0000 (20:31 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFixed parsing of AM/PM without all the expected dots in place
Derick Rethans [Fri, 30 Sep 2016 19:21:48 +0000 (20:21 +0100)]
Fixed parsing of AM/PM without all the expected dots in place

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

8 years agoFix #73203: passing additional_parameters causes mail to fail
Christoph M. Becker [Fri, 30 Sep 2016 09:05:53 +0000 (11:05 +0200)]
Fix #73203: passing additional_parameters causes mail to fail

We make sure that there's no unsigned underflow, which happened for `y==0`.

8 years agoMerge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0
Joe Watkins [Fri, 30 Sep 2016 06:22:50 +0000 (07:22 +0100)]
Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0

8 years agofix user filter bug
Joe Watkins [Fri, 30 Sep 2016 06:21:01 +0000 (07:21 +0100)]
fix user filter bug

8 years agoMerge branch 'pull-request/2128' into PHP-7.0
Christoph M. Becker [Thu, 29 Sep 2016 12:39:39 +0000 (14:39 +0200)]
Merge branch 'pull-request/2128' into PHP-7.0

8 years agosync win32 makefile with makedist zendparse exports
Anatol Belski [Thu, 29 Sep 2016 10:56:49 +0000 (12:56 +0200)]
sync win32 makefile with makedist zendparse exports

With a newer bison this part is relevant. Whil bison 2.4.1 is still
used, this changes cater for the forward compatibility.

8 years agoBetter fix for bug #72854 (avoid extra copy and creating reference to stack variable)
Dmitry Stogov [Thu, 29 Sep 2016 07:56:01 +0000 (10:56 +0300)]
Better fix for bug #72854 (avoid extra copy and creating reference to stack variable)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 28 Sep 2016 22:58:02 +0000 (00:58 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
configure.in
main/php_version.h

8 years ago5.6.28 is next
Ferenc Kovacs [Wed, 28 Sep 2016 22:55:36 +0000 (00:55 +0200)]
5.6.28 is next

8 years agoUpdated to version 2016.7 (2016g)
Derick Rethans [Wed, 28 Sep 2016 22:30:27 +0000 (23:30 +0100)]
Updated to version 2016.7 (2016g)

8 years agoEmpty merge
Derick Rethans [Wed, 28 Sep 2016 22:30:27 +0000 (23:30 +0100)]
Empty merge

8 years agoUpdated to version 2016.7 (2016g)
Derick Rethans [Wed, 28 Sep 2016 22:30:26 +0000 (23:30 +0100)]
Updated to version 2016.7 (2016g)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 28 Sep 2016 21:12:45 +0000 (23:12 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoHandle resource keys in constexpr arrays
Nikita Popov [Wed, 28 Sep 2016 21:11:02 +0000 (23:11 +0200)]
Handle resource keys in constexpr arrays

8 years agoFix the constant array case as well
Nikita Popov [Wed, 28 Sep 2016 21:05:21 +0000 (23:05 +0200)]
Fix the constant array case as well

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 28 Sep 2016 20:36:36 +0000 (22:36 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoCheck next_index_insert failure in ADD_ARRAY_ELEMENT
Nikita Popov [Wed, 28 Sep 2016 20:33:40 +0000 (22:33 +0200)]
Check next_index_insert failure in ADD_ARRAY_ELEMENT

8 years agoFix bug #73181
Nikita Popov [Tue, 27 Sep 2016 17:47:48 +0000 (19:47 +0200)]
Fix bug #73181

8 years agoprepare next
Anatol Belski [Tue, 27 Sep 2016 10:49:52 +0000 (12:49 +0200)]
prepare next

8 years agoset versions php-7.0.12RC1
Anatol Belski [Tue, 27 Sep 2016 10:38:38 +0000 (12:38 +0200)]
set versions

8 years agoupdate NEWS
Adam Baratz [Mon, 26 Sep 2016 21:09:11 +0000 (17:09 -0400)]
update NEWS

8 years agoIgnore potentially misleading dberr values
Chris Kings-Lynne [Fri, 13 Sep 2013 06:09:08 +0000 (14:09 +0800)]
Ignore potentially misleading dberr values

FreeTDS had a buggy behavior where it would pass invalid values:
https://sourceforge.net/p/freetds/bugs/59/

The fix for this issue -- bc22b2ef817fb5d102bd758111ff3634b39a1319 on their
repo -- was to always use SYBESMSG for dberr. This makes it so the existing
pdo_dblib code would work as is. But by ignoring the dberr value in this
function, it will behave correctly, even with older versions of FreeTDS.

8 years agoupdate NEWS
Anatol Belski [Mon, 26 Sep 2016 17:54:10 +0000 (19:54 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Anatol Belski [Mon, 26 Sep 2016 16:54:43 +0000 (18:54 +0200)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

8 years agoFixed bug #73172 parse error: Invalid numeric literal
Anatol Belski [Mon, 26 Sep 2016 16:47:30 +0000 (18:47 +0200)]
Fixed bug #73172 parse error: Invalid numeric literal

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

8 years agoFix #53745: cgi.discard_path option is missing from php.ini
Christoph M. Becker [Mon, 26 Sep 2016 16:16:50 +0000 (18:16 +0200)]
Fix #53745: cgi.discard_path option is missing from php.ini

Also cgi.check_shebang_line has been missing.

8 years agoupdate libs_versions.txt
Anatol Belski [Mon, 26 Sep 2016 13:41:41 +0000 (15:41 +0200)]
update libs_versions.txt

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Mon, 26 Sep 2016 13:41:16 +0000 (15:41 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  update libs_versions.txt

8 years agoupdate libs_versions.txt
Anatol Belski [Mon, 26 Sep 2016 13:39:01 +0000 (15:39 +0200)]
update libs_versions.txt

8 years agoFixed bug #73156 (segfault on undefined function)
Dmitry Stogov [Mon, 26 Sep 2016 11:14:57 +0000 (14:14 +0300)]
Fixed bug #73156 (segfault on undefined function)

8 years agoFix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
Stanislav Malyshev [Sun, 25 Sep 2016 23:43:24 +0000 (16:43 -0700)]
Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation

8 years agoAdd an include path for freetype which is relevant for cmake builds
Anatol Belski [Sun, 25 Sep 2016 18:55:13 +0000 (20:55 +0200)]
Add an include path for freetype which is relevant for cmake builds

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sun, 25 Sep 2016 08:46:44 +0000 (10:46 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix test_image_equals_file() wrt. palette images
Christoph M. Becker [Sun, 25 Sep 2016 08:30:48 +0000 (10:30 +0200)]
Fix test_image_equals_file() wrt. palette images

The recently introduced test_image_equals_file() doesn't properly work for
palette images, because in this case only the palette indexes are compared,
what can lead to false positives and negatives as shown in the added test.

To fix that we convert palette images to truecolor, what is supposed to be
faster than calling imagecolorsforindex() for each pixel.

We furthermore rely on PHP's refcounting to free unused images; after all,
this is not C.

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

8 years agoMerge branch 'pull-request/2120' into PHP-5.6
Christoph M. Becker [Sat, 24 Sep 2016 15:52:15 +0000 (17:52 +0200)]
Merge branch 'pull-request/2120' into PHP-5.6

8 years agoFixed bug #73163
Nikita Popov [Sat, 24 Sep 2016 11:18:43 +0000 (13:18 +0200)]
Fixed bug #73163

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

8 years agoFix #73161: imagecreatefromgd2() may leak memory
Christoph M. Becker [Sat, 24 Sep 2016 10:36:54 +0000 (12:36 +0200)]
Fix #73161: imagecreatefromgd2() may leak memory

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

8 years agoFix #73159: imagegd2(): unrecognized formats may result in corrupted files
Christoph M. Becker [Sat, 24 Sep 2016 09:28:20 +0000 (11:28 +0200)]
Fix #73159: imagegd2(): unrecognized formats may result in corrupted files

We must not apply the format correction twice for truecolor images.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Sat, 24 Sep 2016 08:47:11 +0000 (10:47 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #73155: imagegd2() writes wrong chunk sizes on boundaries
Christoph M. Becker [Fri, 23 Sep 2016 22:46:35 +0000 (00:46 +0200)]
Fix #73155: imagegd2() writes wrong chunk sizes on boundaries