SIGSEGV in QueueAuthenticNexus of montage

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Hubbitus
Posts: 66
Joined: 2010-05-04T10:50:21-07:00
Authentication code: 8675308
Location: Russia, Saint-Petersburg

SIGSEGV in QueueAuthenticNexus of montage

Post by Hubbitus »

Please look in our bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=735599 for more details and backtraces.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: SIGSEGV in QueueAuthenticNexus of montage

Post by magick »

This problem requires two small patches. In magick/cache.c/QueueAuthenticNexus(), change

Code: Select all

  assert(cache_info->signature == MagickSignature);
  if (cache_info == (Cache) NULL)
    return((PixelPacket *) NULL);
to

Code: Select all

  if (cache_info == (Cache) NULL)
    return((PixelPacket *) NULL);
  assert(cache_info->signature == MagickSignature);
and in magick/montage.c/MontageImageList(), change

Code: Select all

    montage->columns=bounds.width;
    montage->rows=bounds.height;
to

Code: Select all

    montage->columns=MagickMax(bounds.width,1);
    montage->rows=MagickMax(bounds.height,1);
Hubbitus
Posts: 66
Joined: 2010-05-04T10:50:21-07:00
Authentication code: 8675308
Location: Russia, Saint-Petersburg

Re: SIGSEGV in QueueAuthenticNexus of montage

Post by Hubbitus »

Will be these patches merged into main code of ImageMagick?

Thanks.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: SIGSEGV in QueueAuthenticNexus of montage

Post by magick »

The patches are already in Subversion for ImageMagick 6.7.2 and will be part of the ImageMagick 6.7.2-2 release within a week.
Hubbitus
Posts: 66
Joined: 2010-05-04T10:50:21-07:00
Authentication code: 8675308
Location: Russia, Saint-Petersburg

Re: SIGSEGV in QueueAuthenticNexus of montage

Post by Hubbitus »

Thats cool. Thank you very much.
Post Reply