Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 1998 10:40:57 +0900 (JST)
From:      KATO Takenori <kato@migmatite.eps.nagoya-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/5640: incorrect gid-map in umapfs
Message-ID:  <199802040140.KAA01171@marble.eps.nagoya-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         5640
>Category:       kern
>Synopsis:       incorrect gid-map in umapfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb  3 17:50:01 PST 1998
>Last-Modified:
>Originator:     KATO Takenori
>Organization:
Dept. Earth Planet. Sci, Nagoya Univ.
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:


>Description:

If the number of entries in gid-mapfile is differs from that of
uid-mapfile, gid-map is incorrect.

>How-To-Repeat:

	

>Fix:
	
---------- BEGIN ----------
*** umap_vfsops.c.ORIG	Wed Feb  4 10:32:28 1998
--- umap_vfsops.c	Wed Feb  4 10:33:04 1998
***************
*** 168,174 ****
  #endif
  
  	error = copyin(args.gmapdata, (caddr_t)amp->info_gmapdata,
! 	    2*sizeof(u_long)*args.nentries);
  	if (error)
  		return (error);
  
--- 168,174 ----
  #endif
  
  	error = copyin(args.gmapdata, (caddr_t)amp->info_gmapdata,
! 	    2*sizeof(u_long)*args.gnentries);
  	if (error)
  		return (error);
  
---------- END ----------
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802040140.KAA01171>