PERFORCE change 35756 for review
Hrishikesh Dandekar
hdandeka at FreeBSD.org
Fri Aug 8 01:16:24 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=35756
Change 35756 by hdandeka at hdandeka_yash on 2003/08/07 18:16:00
Bug fix for nfsdserver module in the trustedbsd MAC branch.
Initialize the cred ptr (nd_cr) to NULL.
The check for NULL ptr would fail in nfssvc_nfsd leading to a
an invalid pointer reference.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/nfsserver/nfs_srvsock.c#12 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/nfsserver/nfs_srvsock.c#12 (text+ko) ====
@@ -670,6 +670,7 @@
nd->nd_md = nd->nd_mrep = m;
nd->nd_nam2 = nam;
nd->nd_dpos = mtod(m, caddr_t);
+ nd->nd_cr = NULL;
error = nfs_getreq(nd, nfsd, TRUE);
if (error) {
if (nam) {
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list