From owner-freebsd-hackers Sun Mar 10 17:05:10 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA05723 for hackers-outgoing; Sun, 10 Mar 1996 17:05:10 -0800 (PST) Received: from nervosa.com (root@nervosa.com [192.187.228.86]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA05706 for ; Sun, 10 Mar 1996 17:05:06 -0800 (PST) Received: from nervosa.com (coredump@onyx.nervosa.com [10.0.0.1]) by nervosa.com (8.7.5/nervosa.com.2) with SMTP id RAA02046; Sun, 10 Mar 1996 17:04:01 -0800 (PST) Date: Sun, 10 Mar 1996 17:03:59 -0800 (PST) From: invalid opcode To: John-Mark Gurney cc: hackers@FreeBSD.org, Doug White Subject: Re: seg fault and strlen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 9 Mar 1996, John-Mark Gurney wrote: > 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... > John-Mark It's called Null Pointer Reference. And yes it's okay =) == Chris Layne ============================================================= == coredump@nervosa.com ================ http://www.nervosa.com/~coredump ==