core dump from montage

Peter Fales <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
We're getting a core dump from montage in 6.4.3-8 when the program 
is executed with no arguments.  I believe the problem is corrected with
this patch  (all the other tables are terminated with a null pointer, but
this one is missing the terminator):

diff -ur ImageMagick-6.4.3/wand/montage.c
ImageMagick-6.4.3.new/wand/montage.c
--- ImageMagick-6.4.3/wand/montage.c    2008-09-17 23:13:53.000000000 -0500
+++ ImageMagick-6.4.3.new/wand/montage.c        2008-09-22
21:59:46.000000000 -0          500
@@ -193,6 +193,7 @@
     *sequence_operators[]=
     {
       "-coalesce            merge a sequence of images",
+      (char *) NULL
     },
     *stack_operators[]=
     {


-- 
Peter Fales
Alcatel-Lucent
Member of Technical Staff
2000 Lucent Lane
Room: 1C-436
Naperville, IL 60566-7033
Email: [email protected]
Phone: 630 979 8031
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.