Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
endless loop in ReadTXTImage #591
Version: ImageMagick 7.0.6-2 Q16 x86_64
$magick convert cpu-ReadTXTImage 1.bmp
Here is the critical code
If text image file only contains "MagickID..." line, it will cause ReadTXTImage to infinite loop.
Credit: ADLab of Venustech