2000-11-14 11:09:08

by Olaf Kirch

[permalink] [raw]
Subject: Re: More modutils: It's probably worse.

On Tue, Nov 14, 2000 at 11:29:26AM +0100, Guest section DW wrote:
> Where is the overflow? If charset has 35 characters then
> sprintf(buf, "nls_%s", charset);
> writes 40 bytes into buf, and that fits.

Duh. You're right. Stupid me.

Sorry for the confusion.

Olaf
--
Olaf Kirch | --- o --- Nous sommes du soleil we love when we play
[email protected] | / | \ sol.dhoop.naytheet.ah kin.ir.samse.qurax
[email protected] +-------------------- Why Not?! -----------------------
UNIX, n.: Spanish manufacturer of fire extinguishers.