cvs commit: src/usr.sbin/rpc.lockd kern.c

Hartmut Brandt harti at FreeBSD.org
Thu Nov 17 12:19:25 GMT 2005


harti       2005-11-17 12:19:19 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/rpc.lockd   kern.c 
  Log:
  When a user is in more than 16 groups the call to authunix_create() will
  result in abort() beeing called. This is because there is a limit of
  the number of groups in the RPC which is 16. When the actual number of
  groups is too large it results in xdr_array() returning an error which,
  in turn, authunix_create() handles by just calling abort().
  
  Fix this by passing only the first 16 groups to authunix_create().
  
  Revision  Changes    Path
  1.17      +6 -1      src/usr.sbin/rpc.lockd/kern.c


More information about the cvs-src mailing list