Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok From: ok@quintus.uucp (Richard A. O'Keefe) Newsgroups: comp.sources.bugs Subject: Re: Patch #2 to Pcomm v1.1 Message-ID: <416@quintus.UUCP> Date: 16 Sep 88 10:29:31 GMT References: <13900004@osiris.cso.uiuc.edu> Sender: news@quintus.UUCP Reply-To: ok@quintus.UUCP (Richard A. O'Keefe) Organization: Quintus Computer Systems, Inc. Lines: 10 In article <13900004@osiris.cso.uiuc.edu> hood@osiris.cso.uiuc.edu writes: >This patch will fix the problem that some people are having with >seqmentation faults (although I'm not convinced the problem isn't >in their compiler). It isn't. It's the famous *NULL bug. >! if (*lock_path != NULL && lock_path != NULL) { This only tests whether lock_path is legal *after* trying to use it!