[Pkg-gmagick-im-team] Bug#609177: [imagemagick] Moreinfo

Silvio Cesare silvio.cesare at gmail.com
Tue May 31 02:53:57 UTC 2011


Sorry again for the delays.

It looks like an off-by-1 in the option parsing code for long options. My
patch is is included.

--
Silvio

diff -ru imagemagick-6.3.7.9.dfsg2/magick/option.c
imagemagick-6.3.7.9.dfsg2-fix/magick/option.c
--- imagemagick-6.3.7.9.dfsg2/magick/option.c   2007-12-13
07:41:12.000000000 +1100
+++ imagemagick-6.3.7.9.dfsg2-fix/magick/option.c       2011-05-31
12:31:27.000000000 +1000
@@ -1866,7 +1866,7 @@
     while (((isspace((int) ((unsigned char) *p)) == 0) && (*p != ',')) &&
            (*p != '\0'))
     {
-      if ((q-token) >= MaxTextExtent)
+      if ((q-token) >= (MaxTextExtent - 1))
         break;
       *q++=(*p++);
     }


On Mon, May 30, 2011 at 7:38 PM, Bastien ROUCARIES <
roucaries.bastien at gmail.com> wrote:

> Package: imagemagick
> Version: 8:6.6.0.4-3
>
> Could you send me the info asked ?
>
> Thanks
>
> Bastien
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20110531/067d6ed3/attachment.html>


More information about the Pkg-gmagick-im-team mailing list