[OmniOS-discuss] getgrnam_r hangs if buffer too small

Nathan Huff nrhuff at umn.edu
Thu Jan 22 20:11:37 UTC 2015


I am running 151006 and we have some very large groups.  If the buffer 
passed to getgrnam_r is too small to fit the group entry it seems to 
just hang.  I think it is supposed to return NULL and set errno to 
ERANGE.  If the buffer is big enough it returns the information fine.

-- 
Nathan Huff
System Administrator
Academic Health Center Information Systems
University of Minnesota
612-626-9136


More information about the OmniOS-discuss mailing list