From: sitnikov at infonet dot ee Operating system: Linux PHP version: 4CVS-2003-10-18 (stable) PHP Bug Type: GetImageSize related Bug description: getimagesize fail with some jpegs
Description: ------------ getimagesize fail with jpeg created by 602PC Suite software Example jpeg: http://si.infonet.ee/wrong_jpeg.jpg All other software (Photoshop, ACDSee, xnview, IE, Mozila, Opera, etc) open this file correctly. ImageMagic/identify says: /usr/local/ImageMagick/bin/identify: Corrupt JPEG data: 2 extraneous bytes before marker 0xfe After some debuging, i can see, than this jpg file have 2 zero byte before next marker, and php_next_marker fail with this data. -- Edit bug report at http://bugs.php.net/?id=25905&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25905&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25905&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25905&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25905&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25905&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25905&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25905&r=support Expected behavior: http://bugs.php.net/fix.php?id=25905&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25905&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25905&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25905&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25905&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25905&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25905&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25905&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25905&r=float