Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#362 closed defect (fixed)

Buffer for getgrnam_r too small

Reported by: rainer Owned by: rainer
Priority: major Milestone: 3.1.4
Component: main Version:
Keywords: Cc:

Description

Reported by Sergio B.:

in the function sh_group_to_gid (src/sh_unix.c:1005) the call to getgrnam_r fails with ERANGE, with a very large group

turns out that sysconf(_SC_GETGR_R_SIZE_MAX) also fails to produce a useful number...

Change History (1)

comment:1 by rainer, 10 years ago

Resolution: fixed
Status: newclosed

Believed to be fixed by changeset [462].

Note: See TracTickets for help on using tickets.