cvs commit: src/lib/libc/rpc auth_unix.c

Hartmut Brandt harti at FreeBSD.org
Thu Jun 14 20:07:36 UTC 2007


harti       2007-06-14 20:07:36 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/rpc         auth_unix.c 
  Log:
  Use an array of size NGROUP_MAX for the getgroups() call instead of NGRP.
  When NGROUP_MAX is larger than NGRP the call used to fail. Now the call
  succeedes, but only the first NGRP groups are actually used for authentication.
  
  Revision  Changes    Path
  1.18      +4 -2      src/lib/libc/rpc/auth_unix.c


More information about the cvs-all mailing list