From: damien dot racca at free dot fr Operating system: XP PHP version: 4.3.6 PHP Bug Type: Reproducible crash Bug description: createimagefromstring
Description: ------------ Fixed bug #21518 (imagecreatefromstring() crashed with invalid image files). (Ilia) That seemed to be solved in earlier version that my 4.3.4 but I have still the problem. I can't update because of a free provider (free.fr) but in new versions, this bug has not be solved. Some JPEG files (I don't know why sme can't be used !) stop the script execution. Very ennoying because I wanted to use this finction to make thumbnails from images stored in a mysql table. Reproduce code: --------------- $a=createimagefromstring($myrow[0]) with $myrow[0] being a JPEG image stored in a mysql table (this JPEG can be displayed if createimagefromstring is not used !). Expected result: ---------------- The scipt has to continue, not stopping ! Actual result: -------------- Script stop when createimagefromstring is used. -- Edit bug report at http://bugs.php.net/?id=29102&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29102&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29102&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29102&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29102&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29102&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29102&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29102&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29102&r=support Expected behavior: http://bugs.php.net/fix.php?id=29102&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29102&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29102&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29102&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29102&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29102&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29102&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29102&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29102&r=float