From owner-freebsd-hackers Sat Mar 9 15:20:21 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA03554 for hackers-outgoing; Sat, 9 Mar 1996 15:20:21 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA03268 for ; Sat, 9 Mar 1996 15:15:50 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA21387; Sat, 9 Mar 1996 13:55:23 -0700 From: Terry Lambert Message-Id: <199603092055.NAA21387@phaeton.artisoft.com> Subject: Re: seg fault and strlen To: gurney_j@resnet.uoregon.edu Date: Sat, 9 Mar 1996 13:55:23 -0700 (MST) Cc: hackers@FreeBSD.ORG, dwhite@resnet.uoregon.edu In-Reply-To: from "John-Mark Gurney" at Mar 9, 96 01:41:26 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: owner-hackers@FreeBSD.ORG Precedence: bulk > > I'm not sure this is the best place to put it... but is it ok for strlen > to seg fault your program when you pass a null pointer to it? just > wondering... TTYL... No, it is not "OK". It is "*REQUIRED*". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.