ID: 10783 Updated by: sniper Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]