retitle 453260 pic breaks with 10 or more macro arguments
tags 453260 fixed-upstream
thanks

On Wed, Nov 28, 2007 at 12:10:16AM -0500, R. Clayton wrote:
> Package: groff-base
> Version: 1.18.1.1-13
> Severity: important
> File: /usr/bin/gpic
> 
> *** Please type your report below this line **
> 
> This program
> 
>   $ cat bad.pic
>   .PS
> 
>   agap = 0.05
> 
>   define list {
>     box thick 2 $1 "$2"
>     arrow left from last box.e + (agap, 0)
>     }
> 
>   list(,a,,b,,c,,d,,e)
> 
>   .PE
> 
> causes a glibc abort:

Thanks for your report. This is fixed upstream in two ways. Firstly (and
trivially), pic now supports rather more macro arguments: on Linux it
will be 32. Secondly, it now emits an "only 32 macro arguments
supported" message and ignores further arguments rather than crashing.

I'm not sure it's worth backporting this fix; I'd rather add it to the
pile of bugs that will be fixed when we finally manage to upgrade to a
more recent version of groff. Do you have a pressing need for 10 or more
macro arguments?

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to