From owner-cvs-all Wed Sep 12 13:27: 3 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 326ED37B407; Wed, 12 Sep 2001 13:26:58 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8CKQw489633; Wed, 12 Sep 2001 13:26:58 -0700 (PDT) (envelope-from julian) Message-Id: <200109122026.f8CKQw489633@freefall.freebsd.org> From: Julian Elischer Date: Wed, 12 Sep 2001 13:26:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG julian 2001/09/12 13:26:58 PDT Modified files: sys/kern kern_descrip.c Log: If an incoming struct proc could have been NULL before, tehn don't automatically change the code to add struct proc *p = td->td_proc; because now 'td' is probably capable of being NULL too. I expect to see more of this kind of error during the 'weeding' process. It's too easy to make. (junior hacker project.. look for these :-) Submitted by: mark Peek Revision Changes Path 1.108 +6 -5 src/sys/kern/kern_descrip.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message