[Fribidi-discuss] Building fribidi on OSF1 alpha: snprintf

Omer Zak omerz at actcom.co.il
Tue Jan 22 15:25:03 EST 2002


On Wed, 23 Jan 2002, Behdad Esfahbod wrote:

> I changed it to sprintf, sprintf is in ANSI C, while snprintf is in 
> ISO C99.

Please don't downgrade to sprintf from snprintf.
The reason:  buffer overflow risk.

Anyone who doesn't have snprintf in his OS - refer him to the punishment
meted out to people who post stupid newbie questions to the Linux-IL
mailing list. 

If someone MUST compile without snprintf, it means that his OS is very
very insecure.
                                             --- Omer
WARNING TO SPAMMERS:  see at http://www.zak.co.il/spamwarning.html





More information about the FriBidi mailing list