Re: possible buffer overflow by bad translation

2019-09-16 Thread Chet Ramey
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 circumstanc

possible buffer overflow by bad translation

2019-09-15 Thread Roland Illig
>From siglist.c: sys_siglist[i] = (char *)xmalloc (10 + strlen (_("Unknown Signal #"))); sprintf (sys_siglist[i], _("Unknown Signal #%d"), i); If the translator doesn't look at the code using these two messages, they may be translated in a totally different way. L