]> granicus.if.org Git - php/log
php
9 years agoMerge branch 'master' of git.php.net:php-src
Xinchen Hui [Thu, 13 Aug 2015 05:30:50 +0000 (13:30 +0800)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed bug #70250 (extract() turns array elements to references)
Xinchen Hui [Thu, 13 Aug 2015 05:30:25 +0000 (13:30 +0800)]
Fixed bug #70250 (extract() turns array elements to references)

9 years agoMerge branch 'PHP-5.6'
Christopher Jones [Thu, 13 Aug 2015 05:01:24 +0000 (15:01 +1000)]
Merge branch 'PHP-5.6'

9 years agoPDO_OCI is not experimental
Christopher Jones [Thu, 13 Aug 2015 05:01:01 +0000 (15:01 +1000)]
PDO_OCI is not experimental

9 years agozend_hash_resize seems useless, use zend_hash_extend
Xinchen Hui [Thu, 13 Aug 2015 04:19:35 +0000 (12:19 +0800)]
zend_hash_resize seems useless, use zend_hash_extend

9 years agoFixed bug #70258 and #70253
Xinchen Hui [Thu, 13 Aug 2015 04:08:57 +0000 (12:08 +0800)]
Fixed bug #70258 and #70253

9 years agoRevert "Updated to version 2015.6 (2015f)"
Xinchen Hui [Thu, 13 Aug 2015 03:55:30 +0000 (11:55 +0800)]
Revert "Updated to version 2015.6 (2015f)"

This reverts commit 7b476a600b64834838b3521b05b1d0d90130483b.

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Wed, 12 Aug 2015 21:00:15 +0000 (22:00 +0100)]
Updated to version 2015.6 (2015f)

9 years agoEmpty merge
Derick Rethans [Wed, 12 Aug 2015 21:00:15 +0000 (22:00 +0100)]
Empty merge

9 years agoUpdated to version 2015.6 (2015f)
Derick Rethans [Wed, 12 Aug 2015 21:00:13 +0000 (22:00 +0100)]
Updated to version 2015.6 (2015f)

9 years agoupdated NEWS
Christoph M. Becker [Wed, 12 Aug 2015 17:03:35 +0000 (19:03 +0200)]
updated NEWS

9 years agoFix #70245: strtotime does not emit warning when 2nd parameter is object or string
Christoph M. Becker [Wed, 12 Aug 2015 17:01:04 +0000 (19:01 +0200)]
Fix #70245: strtotime does not emit warning when 2nd parameter is object or string

Caused by a refactoring strtotime() called
zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ...) instead of
zend_parse_parameters().

9 years agoimprove condition
Anatol Belski [Wed, 12 Aug 2015 08:58:21 +0000 (10:58 +0200)]
improve condition

same as CSPRNG, break by EOF

9 years agoFurther PHP 7 compat for OCI8
Christopher Jones [Wed, 12 Aug 2015 11:57:16 +0000 (21:57 +1000)]
Further PHP 7 compat for OCI8

9 years agoFix valgrind false positives with watchpoints
Bob Weinand [Wed, 12 Aug 2015 10:42:40 +0000 (10:42 +0000)]
Fix valgrind false positives with watchpoints

9 years agoUse the same error msg with resize
Xinchen Hui [Wed, 12 Aug 2015 08:46:57 +0000 (16:46 +0800)]
Use the same error msg with resize

9 years agoWe should not silently go on if the required size can not be met
Xinchen Hui [Wed, 12 Aug 2015 08:44:51 +0000 (16:44 +0800)]
We should not silently go on if the required size can not be met

9 years agoRevert "We should not silently go on if the required size can not be met."
Xinchen Hui [Wed, 12 Aug 2015 08:44:18 +0000 (16:44 +0800)]
Revert "We should not silently go on if the required size can not be met."

This reverts commit d2bcdec980e31d876bdcc4cfb59392fdf215badb.

9 years agoWe should not silently go on if the required size can not be met.
Xinchen Hui [Wed, 12 Aug 2015 08:40:59 +0000 (16:40 +0800)]
We should not silently go on if the required size can not be met.

9 years agoimprove condition
Anatol Belski [Wed, 12 Aug 2015 08:20:26 +0000 (10:20 +0200)]
improve condition

read() == 0 is EOL

9 years agosecond part fixing vc14, type/specifier order also in definitions
Anatol Belski [Wed, 12 Aug 2015 06:52:08 +0000 (08:52 +0200)]
second part fixing vc14, type/specifier order also in definitions

9 years agouse efree_size here
Xinchen Hui [Wed, 12 Aug 2015 03:15:09 +0000 (11:15 +0800)]
use efree_size here

9 years agoRevert "Simplify ZEND_EXIT and count boolean values to it as exit status"
Dmitry Stogov [Tue, 11 Aug 2015 23:58:21 +0000 (02:58 +0300)]
Revert "Simplify ZEND_EXIT and count boolean values to it as exit status"

This reverts commit 7c003948c618adb2a6691f529057388f02202f09.

9 years agoAttempt to fix Windows build (vc14)
Dmitry Stogov [Tue, 11 Aug 2015 23:47:37 +0000 (02:47 +0300)]
Attempt to fix Windows build (vc14)

9 years agoSimplify ZEND_EXIT and count boolean values to it as exit status
Bob Weinand [Tue, 11 Aug 2015 20:36:47 +0000 (22:36 +0200)]
Simplify ZEND_EXIT and count boolean values to it as exit status

9 years agoFixed bug #70241 (Skipped assertions affect Generator returns)
Bob Weinand [Tue, 11 Aug 2015 20:12:06 +0000 (22:12 +0200)]
Fixed bug #70241 (Skipped assertions affect Generator returns)

9 years agoupdate NEWS
Anatol Belski [Tue, 11 Aug 2015 15:37:36 +0000 (17:37 +0200)]
update NEWS

9 years agoFixed bug #70198 Checking liveness does not work as expected
Anatol Belski [Tue, 11 Aug 2015 15:36:10 +0000 (17:36 +0200)]
Fixed bug #70198 Checking liveness does not work as expected

9 years agofix news entry
Anatol Belski [Tue, 11 Aug 2015 14:52:13 +0000 (16:52 +0200)]
fix news entry

9 years agoupdated NEWS
Anatol Belski [Tue, 11 Aug 2015 14:50:53 +0000 (16:50 +0200)]
updated NEWS

9 years agofix bug #69833 mcrypt fd caching not working
Anatol Belski [Tue, 11 Aug 2015 14:49:28 +0000 (16:49 +0200)]
fix bug #69833 mcrypt fd caching not working

9 years agoFixed bug #70237 (Empty while and do-while segmentation fault with opcode on CLI...
Xinchen Hui [Tue, 11 Aug 2015 13:01:56 +0000 (21:01 +0800)]
Fixed bug #70237 (Empty while and do-while segmentation fault with opcode on CLI enabled).

9 years agoupdated NEWS wrt. bug #69487
Christoph M. Becker [Mon, 10 Aug 2015 23:36:39 +0000 (01:36 +0200)]
updated NEWS wrt. bug #69487

9 years agoFix #69487: SAPI may truncate POST data
Christoph M. Becker [Sun, 9 Aug 2015 23:33:20 +0000 (01:33 +0200)]
Fix #69487: SAPI may truncate POST data

If SG(request_info).request_body can't be completely written (e.g. due to a
full drive), only parts of the POST data will be available. This patch changes
this, so that SG(request_info).request_body will be reset in this case, and a
warning will be thrown.

9 years agoAdd CVE IDs asigned to #69085 (PHP 5.6.7)
Lior Kaplan [Mon, 10 Aug 2015 08:54:39 +0000 (11:54 +0300)]
Add CVE IDs asigned to #69085 (PHP 5.6.7)

9 years agoAlign NEWS with 5.6.12
Lior Kaplan [Mon, 10 Aug 2015 08:52:23 +0000 (11:52 +0300)]
Align NEWS with 5.6.12

9 years agoAdd entries for phar bug fixes in 5.6.11 (also have CVE assigned)
Lior Kaplan [Mon, 10 Aug 2015 08:49:18 +0000 (11:49 +0300)]
Add entries for phar bug fixes in 5.6.11 (also have CVE assigned)

9 years agoupdated NEWS
Christoph M. Becker [Sun, 9 Aug 2015 00:43:41 +0000 (02:43 +0200)]
updated NEWS

9 years agoFix #66606: Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE
wusuopu [Mon, 3 Nov 2014 06:52:16 +0000 (14:52 +0800)]
Fix #66606: Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE

The patch will store Content-Type header value in both HTTP_CONTENT_TYPE field and CONTENT_TYPE field.

9 years agoadded tests for bug #66606
Christoph M. Becker [Sun, 9 Aug 2015 00:36:58 +0000 (02:36 +0200)]
added tests for bug #66606

9 years agofix NEWS
Ferenc Kovacs [Fri, 7 Aug 2015 06:46:10 +0000 (08:46 +0200)]
fix NEWS

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Wed, 5 Aug 2015 07:00:54 +0000 (00:00 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  5.5.29 next

Conflicts:
configure.in
main/php_version.h

9 years ago5.5.29 next
Stanislav Malyshev [Wed, 5 Aug 2015 06:59:55 +0000 (23:59 -0700)]
5.5.29 next

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 4 Aug 2015 23:45:55 +0000 (16:45 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix test

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 4 Aug 2015 23:45:32 +0000 (16:45 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix test

9 years agofix test
Stanislav Malyshev [Tue, 4 Aug 2015 23:45:20 +0000 (16:45 -0700)]
fix test

9 years agovirtual_file_ex uses emalloc in 5.6+
Stanislav Malyshev [Tue, 4 Aug 2015 23:31:57 +0000 (16:31 -0700)]
virtual_file_ex uses emalloc in 5.6+

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 4 Aug 2015 23:13:53 +0000 (16:13 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  __wakeup doesn't have to be final

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 4 Aug 2015 23:13:43 +0000 (16:13 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  __wakeup doesn't have to be final

9 years ago__wakeup doesn't have to be final
Stanislav Malyshev [Tue, 4 Aug 2015 23:13:26 +0000 (16:13 -0700)]
__wakeup doesn't have to be final

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 4 Aug 2015 22:29:13 +0000 (15:29 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  update NEWS
  fix test
  update NEWS
  Fix bug #70019 - limit extracted files to given directory
  Do not do convert_to_* on unserialize, it messes up references
  Fix #69793 - limit what we accept when unserializing exception
  Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
  Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
  ignore signatures for packages too
  Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
  Fixed bug #69892
  Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
  Improved fix for Bug #69441
  Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
  Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
  Fix bug #70081: check types for SOAP variables

Conflicts:
ext/soap/php_http.c
ext/spl/spl_observer.c

9 years agoupdate NEWS
Stanislav Malyshev [Tue, 4 Aug 2015 22:22:59 +0000 (15:22 -0700)]
update NEWS

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 4 Aug 2015 21:46:30 +0000 (14:46 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix test
  update NEWS

9 years agofix test
Stanislav Malyshev [Tue, 4 Aug 2015 21:46:19 +0000 (14:46 -0700)]
fix test

9 years agoupdate NEWS
Stanislav Malyshev [Tue, 4 Aug 2015 21:37:28 +0000 (14:37 -0700)]
update NEWS

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 4 Aug 2015 21:10:57 +0000 (14:10 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #70019 - limit extracted files to given directory
  Do not do convert_to_* on unserialize, it messes up references
  Fix #69793 - limit what we accept when unserializing exception
  Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
  Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
  ignore signatures for packages too
  Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
  Fixed bug #69892
  Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
  Improved fix for Bug #69441
  Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
  Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
  Fix bug #70081: check types for SOAP variables

Conflicts:
.gitignore
ext/date/php_date.c
ext/spl/spl_array.c
ext/spl/spl_observer.c

9 years agoMerge branch 'PHP-5.4' into PHP-5.4.44
Stanislav Malyshev [Tue, 4 Aug 2015 21:04:24 +0000 (14:04 -0700)]
Merge branch 'PHP-5.4' into PHP-5.4.44

* PHP-5.4:
  Fixed bug #69892
  Adjust Git-Rules

9 years agoFix bug #70019 - limit extracted files to given directory
Stanislav Malyshev [Tue, 4 Aug 2015 21:00:29 +0000 (14:00 -0700)]
Fix bug #70019 - limit extracted files to given directory

9 years agoDo not do convert_to_* on unserialize, it messes up references
Stanislav Malyshev [Sun, 2 Aug 2015 07:34:09 +0000 (00:34 -0700)]
Do not do convert_to_* on unserialize, it messes up references

9 years agoFix #69793 - limit what we accept when unserializing exception
Stanislav Malyshev [Mon, 27 Jul 2015 08:38:27 +0000 (01:38 -0700)]
Fix #69793 - limit what we accept when unserializing exception

9 years agoFixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Stanislav Malyshev [Sun, 2 Aug 2015 04:51:08 +0000 (21:51 -0700)]
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)

9 years agoFixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
Stanislav Malyshev [Sun, 2 Aug 2015 04:45:19 +0000 (21:45 -0700)]
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject

9 years agoignore signatures for packages too
Stanislav Malyshev [Sun, 2 Aug 2015 04:15:37 +0000 (21:15 -0700)]
ignore signatures for packages too

9 years agoFix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Stanislav Malyshev [Sun, 2 Aug 2015 04:12:38 +0000 (21:12 -0700)]
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage

9 years agoFixed bug #69892
Nikita Popov [Sat, 20 Jun 2015 14:39:23 +0000 (16:39 +0200)]
Fixed bug #69892

9 years agofixed test
Christoph M. Becker [Sat, 1 Aug 2015 21:52:35 +0000 (23:52 +0200)]
fixed test

9 years agomentioned cURL file uploads in the "backward incompatible changes" section
Christoph M. Becker [Sat, 1 Aug 2015 12:15:44 +0000 (14:15 +0200)]
mentioned cURL file uploads in the "backward incompatible changes" section

9 years agotest fails with old libxml2; skip in this case
Christoph M. Becker [Fri, 31 Jul 2015 17:52:42 +0000 (19:52 +0200)]
test fails with old libxml2; skip in this case

9 years agotest requires imagejpeg(); skip otherwise
Christoph M. Becker [Fri, 31 Jul 2015 11:51:49 +0000 (13:51 +0200)]
test requires imagejpeg(); skip otherwise

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Julien Pauli [Wed, 29 Jul 2015 08:04:33 +0000 (10:04 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Adjust Git-Rules
  5.4.44 next

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Julien Pauli [Wed, 29 Jul 2015 08:04:08 +0000 (10:04 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Adjust Git-Rules
  5.4.44 next

Conflicts:
configure.in
main/php_version.h

9 years agoAdjust Git-Rules
Julien Pauli [Wed, 29 Jul 2015 08:02:39 +0000 (10:02 +0200)]
Adjust Git-Rules

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 28 Jul 2015 15:42:37 +0000 (17:42 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #70002 TS issues with temporary dir handling

9 years agoupdated NEWS
Anatol Belski [Tue, 28 Jul 2015 15:42:25 +0000 (17:42 +0200)]
updated NEWS

9 years agoFixed bug #70002 TS issues with temporary dir handling
Anatol Belski [Tue, 28 Jul 2015 15:41:38 +0000 (17:41 +0200)]
Fixed bug #70002 TS issues with temporary dir handling

9 years agoupdate NEWS
Anatol Belski [Tue, 28 Jul 2015 08:29:24 +0000 (10:29 +0200)]
update NEWS

9 years agoFixed bug #69900 Too long timeout on pipes
Anatol Belski [Tue, 28 Jul 2015 08:28:45 +0000 (10:28 +0200)]
Fixed bug #69900 Too long timeout on pipes

9 years agoFix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Stanislav Malyshev [Mon, 27 Jul 2015 00:43:16 +0000 (17:43 -0700)]
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes

9 years agoImproved fix for Bug #69441
Stanislav Malyshev [Mon, 27 Jul 2015 00:31:12 +0000 (17:31 -0700)]
Improved fix for Bug #69441

9 years agoFix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Stanislav Malyshev [Mon, 27 Jul 2015 00:25:25 +0000 (17:25 -0700)]
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)

9 years agoFix bug #70121 (unserialize() could lead to unexpected methods execution / NULL point...
Stanislav Malyshev [Mon, 27 Jul 2015 00:09:34 +0000 (17:09 -0700)]
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)

9 years agoFix bug #70081: check types for SOAP variables
Stanislav Malyshev [Sun, 26 Jul 2015 23:44:18 +0000 (16:44 -0700)]
Fix bug #70081: check types for SOAP variables

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ferenc Kovacs [Sun, 26 Jul 2015 20:06:51 +0000 (22:06 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  make the travis irc notification a oneliner

9 years agomake the travis irc notification a oneliner
Ferenc Kovacs [Sun, 26 Jul 2015 20:06:26 +0000 (22:06 +0200)]
make the travis irc notification a oneliner

9 years agoallow to skip slow tests
Christoph M. Becker [Sun, 26 Jul 2015 15:33:09 +0000 (17:33 +0200)]
allow to skip slow tests

9 years agoupdated libs_versions.txt
Anatol Belski [Fri, 24 Jul 2015 18:23:07 +0000 (20:23 +0200)]
updated libs_versions.txt

9 years agoadded regression test for bug #55472, which has already been fixed as of PHP
Christoph M. Becker [Thu, 23 Jul 2015 23:23:33 +0000 (01:23 +0200)]
added regression test for bug #55472, which has already been fixed as of PHP
5.5.0

9 years agoFix #53854: Missing constants for compression type
Christoph M. Becker [Thu, 23 Jul 2015 19:31:58 +0000 (21:31 +0200)]
Fix #53854: Missing constants for compression type

The constants have already been added long ago. This patch just adds a PHPT
which checks the recognition of the respective compression methods.
Unfortunately, I've not been able to assemble a zip with all compression
methods.

9 years agoupdated NEWS
Christoph M. Becker [Thu, 23 Jul 2015 16:37:07 +0000 (18:37 +0200)]
updated NEWS

9 years agoFix #70052: getimagesize() fails for very large and very small WBMP
Christoph M. Becker [Thu, 23 Jul 2015 16:13:47 +0000 (18:13 +0200)]
Fix #70052: getimagesize() fails for very large and very small WBMP

Very large WBMP (width or height greater than 2**31-1) cause an overflow and
circumvent the size limitation of 2048x2048 px. Very small WBMP (less than 12
bytes) cause a read error and are not recognized. This patch fixes both bugs.

9 years agofix config.w32
Anatol Belski [Thu, 23 Jul 2015 05:34:31 +0000 (07:34 +0200)]
fix config.w32

9 years agofix C99 compat
Anatol Belski [Thu, 23 Jul 2015 05:31:54 +0000 (07:31 +0200)]
fix C99 compat

9 years agoAlign CVE format for #69669
Lior Kaplan [Wed, 22 Jul 2015 17:35:31 +0000 (20:35 +0300)]
Align CVE format for #69669

9 years agoFix 69882 entry
Lior Kaplan [Wed, 22 Jul 2015 17:34:31 +0000 (20:34 +0300)]
Fix 69882 entry

9 years ago5.6.13 now
Julien Pauli [Wed, 22 Jul 2015 07:27:49 +0000 (09:27 +0200)]
5.6.13 now

9 years agoAdd tests for json_last_error()/json_last_error_msg() failures
Kubo2 [Mon, 20 Jul 2015 11:05:44 +0000 (13:05 +0200)]
Add tests for json_last_error()/json_last_error_msg() failures

9 years agoupdated NEWS
Christoph M. Becker [Mon, 20 Jul 2015 23:17:51 +0000 (01:17 +0200)]
updated NEWS

9 years agoMerge branch 'pull-request/1425' into PHP-5.6
Christoph M. Becker [Mon, 20 Jul 2015 23:13:04 +0000 (01:13 +0200)]
Merge branch 'pull-request/1425' into PHP-5.6

* pull-request/1425:
  revised bug53156.phpt
  Fix #53156: imagerectangle problem with point ordering

9 years agoupdated NEWS
Christoph M. Becker [Mon, 20 Jul 2015 21:40:23 +0000 (23:40 +0200)]
updated NEWS

9 years agoFix #66387: Stack overflow with imagefilltoborder
Christoph M. Becker [Mon, 20 Jul 2015 21:24:55 +0000 (23:24 +0200)]
Fix #66387: Stack overflow with imagefilltoborder

The stack overflow is caused by the recursive algorithm in combination with a
very large negative coordinate passed to gdImageFillToBorder(). As there is
already a clipping for large positive coordinates to the width and height of
the image, it seems to be consequent to clip to zero also.