From owner-freebsd-current Mon Dec 21 01:10:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26383 for freebsd-current-outgoing; Mon, 21 Dec 1998 01:10:30 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA26378 for ; Mon, 21 Dec 1998 01:10:29 -0800 (PST) (envelope-from jkh@zippy.cdrom.com) Received: from zippy.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by zippy.cdrom.com (8.9.1/8.9.1) with ESMTP id BAA80967; Mon, 21 Dec 1998 01:10:14 -0800 (PST) To: sthaug@nethelp.no cc: mike@smith.net.au, dcs@newsguy.com, current@FreeBSD.ORG Subject: Re: BootFORTH - demo floppy In-reply-to: Your message of "Mon, 21 Dec 1998 10:06:28 +0100." <13401.914231188@verdi.nethelp.no> Date: Mon, 21 Dec 1998 01:10:14 -0800 Message-ID: <80963.914231414@zippy.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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