Created attachment 6260 [details] corrupted figure which makes gs hang this applies to current HEAD. gs hangs with the warning warning: ignoring zlib error: incorrect data check at very high (99%) CPU utilization and never returns. The figure is likely corrupted, but more graceful error handling would be good. Cheers T.
Created attachment 6269 [details] patch Detect and break an infinite loop when some of the image data source are at EOF, some are not, and the image code doesn't take more data. This patch has been committed as a rev. 11206. Regression testing shows no differences.