Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
$errors which is passed to _imagemagick_convert_exec by _imagemagick_check_path. If it then returns something other than 0, additional errors is attempted to be added to the $errors which causes PHP error since it no longer is an array.
Comment | File | Size | Author |
---|---|---|---|
#6 | imagemagick.errors.6.patch | 10.08 KB | sun |
#5 | imagemagick.errors.5.patch | 9.57 KB | sun |
#4 | imagemagick.errors.4.patch | 10.13 KB | sun |
#2 | imagemagick.errors.2.patch | 5.09 KB | sun |
Comments
Comment #1
googletorp CreditAttribution: googletorp commentedI have made a patch for this and added it to my imagemagick sandbox.
Link to commit
Link to diff
Comment #2
sunYes, this badly needs some clean-up. The code dates back to some very old ages.
Can you try attached patch?
Comment #3
sunBetter title.
Comment #4
sunRevamped.
Comment #5
sunMinor adjustments.
Comment #6
sunFixed phpDoc.
Will leave this here for review for one day.
Comment #7
sunCommitted to master.