From owner-freebsd-hackers Sat Feb 22 10:18:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA00392 for hackers-outgoing; Sat, 22 Feb 1997 10:18:37 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id KAA00364; Sat, 22 Feb 1997 10:17:55 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA04865; Sat, 22 Feb 1997 11:11:57 -0700 From: Terry Lambert Message-Id: <199702221811.LAA04865@phaeton.artisoft.com> Subject: Re: hmm To: abelits@phobos.illtel.denver.co.us (Alex Belits) Date: Sat, 22 Feb 1997 11:11:56 -0700 (MST) Cc: guido@gvr.win.tue.nl, dillon@best.net, gurney_j@resnet.uoregon.edu, top@sonic.cris.net, audit-bin@FreeBSD.ORG, FreeBSD-hackers@FreeBSD.ORG In-Reply-To: from "Alex Belits" at Feb 22, 97 02:03:10 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > with p="" > *p != '\0' && p[strlen(p) - 1] == '[' _still_ will read a byte p[-1]. What? IF p = "" THEN *p = '\0' by definition of ""... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.