mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
The size of credential messages is limited by CMGROUP_MAX rather than
NGROUPS. MFC after: 1 week
This commit is contained in:
parent
9efde58392
commit
2f70892f19
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ update_client_creds(int s, kcm_client *peer)
|
|||
struct sockcred *sc;
|
||||
|
||||
memset(&msg, 0, sizeof(msg));
|
||||
crmsgsize = CMSG_SPACE(SOCKCREDSIZE(NGROUPS));
|
||||
crmsgsize = CMSG_SPACE(SOCKCREDSIZE(CMGROUP_MAX));
|
||||
if (crmsgsize == 0)
|
||||
return 1 ;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue