ImageMagick has a possible infinite loop in its JPEG encoder when using `jpeg:extent`
A continue statement in the JPEG extent binary search loop in the jpeg encoder causes an infinite loop when writing persistently fails. An attacker can trigger a 100% CPU consumption and process hang Denial of Service with a crafted image...