Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/nfs Pull up revision 1.50 (requested by christos):
details: https://anonhg.NetBSD.org/src/rev/1aa100f37893
branches: netbsd-1-5
changeset: 492739:1aa100f37893
user: he <he%NetBSD.org@localhost>
date: Sat Feb 09 19:20:51 2002 +0000
description:
Pull up revision 1.50 (requested by christos):
Widen cr_ref to prevent overflow.
diffstat:
sys/nfs/nfs_syscalls.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c3eb472aeb79 -r 1aa100f37893 sys/nfs/nfs_syscalls.c
--- a/sys/nfs/nfs_syscalls.c Sat Feb 09 19:20:34 2002 +0000
+++ b/sys/nfs/nfs_syscalls.c Sat Feb 09 19:20:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_syscalls.c,v 1.41.2.2 2000/12/14 23:37:12 he Exp $ */
+/* $NetBSD: nfs_syscalls.c,v 1.41.2.3 2002/02/09 19:20:51 he Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -278,7 +278,7 @@
m_freem(nuidp->nu_nam);
}
nuidp->nu_flag = 0;
- nuidp->nu_cr = nsd->nsd_cr;
+ crcvt(&nuidp->nu_cr, &nsd->nsd_cr);
if (nuidp->nu_cr.cr_ngroups > NGROUPS)
nuidp->nu_cr.cr_ngroups = NGROUPS;
nuidp->nu_cr.cr_ref = 1;
Home |
Main Index |
Thread Index |
Old Index