<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/gd/tests/bug66387.phpt, branch PHP-5.6.12</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/'/>
<entry>
<title>Fix #66387: Stack overflow with imagefilltoborder</title>
<updated>2015-07-20T21:36:32+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmb@php.net</email>
</author>
<published>2015-07-20T21:24:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=e7f2356665c2569191a946b6fc35b437f0ae1384'/>
<id>e7f2356665c2569191a946b6fc35b437f0ae1384</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
