lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev gettext() question


From: Claude SOMA - CNTS
Subject: Re: lynx-dev gettext() question
Date: Mon, 16 Nov 1998 19:08:29 +0200

On Sat, 14 Nov 1998 09:06:04 +0900 (JST) Nelson Henry Eric
<address@hidden> wrote:

>> But some bug (example buffer overflow) can arise only whith some translation
>> file...

>Can you give us more information on this?  I worry because it is often
>impossible to give a clear translation within the same length as the
>English message.

As an example:

char tmp[100];
sprintf(tmp, "%s",gettext("English Message little then 99 car."));
...

If the translated text is greater then 99 car. -> overflow
So it's OK whith english message and can core dump with other.
Claude

reply via email to

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