You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2012/11/01 20:12:34 UTC

[Bug 41105] apr_gid_name_get using getgrgid_r fails for large groups

https://issues.apache.org/bugzilla/show_bug.cgi?id=41105

--- Comment #9 from Eric Covener <co...@gmail.com> ---
I worked with someone who had a failure on RHEL6.3 at 8KB. I created a
diagnostic:


$ ./getgrgid_r
sysconf(_SC_GETGR_R_SIZE_MAX) = 1024
...
getgrgid_r with bufsize of 8192 returned 34 (Numerical result out of range)
getgrgid_r with bufsize of 16384 succeeded, group NNN name is XXX

Was good to know at least that sysconf() return was not useful for buffer size.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org