bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible buffer overflow by bad translation


From: Chet Ramey
Subject: Re: possible buffer overflow by bad translation
Date: Mon, 16 Sep 2019 11:04:12 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 9/15/19 2:24 PM, Roland Illig wrote:
> From siglist.c:
> 
>         sys_siglist[i] =
>           (char *)xmalloc (10 + strlen (_("Unknown Signal #")));
> 
>         sprintf (sys_siglist[i], _("Unknown Signal #%d"), i);

I'll figure something out. This code is used in exceedingly rare
circumstances: where a system doesn't provide sys_siglist[] or
strsignal(). You probably haven't used one in years.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]