From:             [EMAIL PROTECTED]
Operating system: Red Hat Linux release 6.2 (Zoot)
PHP version:      4.0.5
PHP Bug Type:     GetImageSize related
Bug description:  getImagesize return false for some jpeg images

I found some bug in 4.0.5 source distribution 

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.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to