Fix misuse of ImageMagick that caused core dump.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Mar 2013 17:35:29 +0000 (09:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Mar 2013 17:35:29 +0000 (09:35 -0800)
commit84ac6f9d211796a458214741bdf9677b92bf1c2a
tree1343e8af8390f4188cb7d5612fc38f743f6231a2
parent8bd104b35b2a51e007e2f1d35cdb4ed00c15ae4a
Fix misuse of ImageMagick that caused core dump.

* image.c (imagemagick_load_image): Calculate height and width
after flattening the image, not before.

Fixes: debbugs:13846
src/ChangeLog
src/image.c