Displaying 1 result from an estimated 1 matches for "ngoups_max".
Did you mean:
ngroups_max
2004 Jan 13
3
[Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
....4.23, when NGROUPS_MAX at runtime is larger than at compile-time:
On both systems "fatal: getgroups: Invalid argument" gets logged via syslog
and the sshd is terminating before any authentication is attempted. I located
the problem in uidswap.c, where deprecated NGROUPS_MAX is used.
NGOUPS_MAX is defined in limits.h and tells the maximum number
of groups which an account can be member of. As NGROUPS_MAX is determined at
compile-time, this limit gets hardcoded into the resulting binary. As
NGROUPS_MAX may be larger at runtime than at compile-time it should be
regarded as deprecated and...