aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/sockets/sendfile
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2025-10-09 09:19:37 +0000
committerOlivier Certner <olce@FreeBSD.org>2025-10-09 11:34:23 +0000
commitbb339adfb2a26c5bb71cd4275dff80f615534ab6 (patch)
tree58e05b6cfe016ae9f8001bb98b13fb16948d55f3 /tools/regression/sockets/sendfile
parentf5544556754ec6b33c1d13c7648a354fef645b2f (diff)
nfsuserd: Fix OOB access on membership of too many groupsHEADmain
getgrouplist() sets the variable containing the allocated length in input to the full effective group list length, not the number of slots that were actually filled in case the passed array is too small to contain it. While here, on this condition, improve the error message by outputting the corresponding user name. MFC after: 1 hour Fixes: e6c623c86ab4 ("Add support for the "-manage-gids" option to the nfsuserd daemon.") Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'tools/regression/sockets/sendfile')
0 files changed, 0 insertions, 0 deletions