Date: Wed, 12 Sep 2001 13:26:58 -0700 (PDT) From: Julian Elischer <julian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c Message-ID: <200109122026.f8CKQw489633@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <mp@freebsd.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109122026.f8CKQw489633>
