On Sat, 28 Oct 2017, Salvatore Bonaccorso wrote:

While testing I was as well not able to reach the NULL pointer
dereference but made the same observation as Bob Friesenhahn, that
graphicsmagick spends a lot of time convertingthe image crating a huge
temporary file, in my case reaching no space left on /tmp and
aborting with

The null pointer dereference can be made to happen by applying a pixels resource limit. Normally limits make things safer but in this case it causes an error which results in a null pointer.

The latest version of the code rejects the file supplied as being impossibly small given the pixel dimensions.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

Reply via email to