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

Behdad Esfahbod behdad at bamdad.org
Tue Jan 22 16:06:19 EST 2002


On Wed, 23 Jan 2002, Omer Zak wrote:
> 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.

Dear Omer, I know how to do my job well, no buffer overflow, be sure ;-).

> 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

-- 
Behdad Esfahbod  <behdad at bamdad dot org>
3 Bahman 1380, 2002 Jan 23  [Finger for Geek Code]
"Unix IS user friendly, it is just selective about who his friends are."





More information about the FriBidi mailing list