#25871 [Opn]: imagecreatetruecolor crashes if image over 4mpix
| From: | bb at ii dot nl | Date: | Tue, 14 Oct 2003 19:29:27 +0000 |
| Subject: | #25871 [Opn]: imagecreatetruecolor crashes if image over 4mpix | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-49006@lists.php.net to get a copy of this message | ||
ID: 25871
User updated by: bb at ii dot nl
Reported By: bb at ii dot nl
Status: Open
Bug Type: Reproducible crash
-Operating System: Debian Linux
+Operating System: RedHat Linux
PHP Version: 4.3.3
New Comment:
OS is RedHat, not Debian
Previous Comments:
------------------------------------------------------------------------
[2003-10-14 15:27:54] bb at ii dot nl
Description:
------------
ImageCreateTrueColor crashes PHP if I allocate an image over ~4000000
pixels in size.
I use PHP 4.3.3 with GD version: bundled (2.0.15 compatible)
Memory_limit is set to 26214400
Reproduce code:
---------------
$im = imagecreatetruecolor(1500,4000);
Actual result:
--------------
PHP crashes
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25871&edit=1