Bug #10783 Updated: getImagesize return false for some jpeg images
| From: | sniper@php.net | Date: | Wed, 16 May 2001 04:53:35 +0000 |
| Subject: | Bug #10783 Updated: getImagesize return false for some jpeg images | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55413@lists.php.net to get a copy of this message | ||
ID: 10783
Updated by: sniper
Reported By: phasis@phasis.co.kr
Old-Status: Open
Status: Closed
Bug Type: GetImageSize related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
should be fixed in CVS now.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-10 06:10:42] phasis@phasis.co.kr
I found some bug in 4.0.5 source distribution
/ext/standard/image.c
In function php_handle_jpeg,
variable marker must be initialized before for loop
like following
marker = FP_FGETC(socketd,fp,issock);
for(;;) {
...
marker = php_next_marker(socketd,fp,issock);
}
I modified souce code and rebuit php modlue.
Then getImagesize work properly for all jpeg images.
Park Hee-Sob.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10783&edit=2