Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 1998 01:10:14 -0800
From:      "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
To:        sthaug@nethelp.no
Cc:        mike@smith.net.au, dcs@newsguy.com, current@FreeBSD.ORG
Subject:   Re: BootFORTH - demo floppy 
Message-ID:  <80963.914231414@zippy.cdrom.com>
In-Reply-To: Your message of "Mon, 21 Dec 1998 10:06:28 %2B0100." <13401.914231188@verdi.nethelp.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Of course. But counted strings can make some buffer overflow issues
> more visible, and may get the programmer to *think* about this.

Counted strings don't buy you anything at all.  It's ridiculously easy
to overflow the buffers they represent with or without a count field
moderating the _corrent_ usage of the string.  In other words, it
generally makes a good programmer's jobs harder and helps the bad
programmer to live only a few extra moments at best, if even that
much.

- Jordan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80963.914231414>