Re: RADIUSD: Big security holes (fwd)

John W. Temples (john@kuwait.net)
Mon, 9 Sep 1996 15:45:06 +0300 ()

On Mon, 9 Sep 1996, Curt Eckhart wrote:

> This has been a long standing problem for a long time. Does there
> exist a function call which can count the number of characters that a
> sprintf *will* generate without actually doing the sprintf.

I haven't seen a function like that, but there is "snprintf" which is what
should be used in place of sprintf to prevent buffer overflows.

--
John W. Temples, III       ||       Providing the first public access Internet
Gulfnet Kuwait             ||            site in the Arabian Gulf region