On Mon, 02 Mar 2015, Sumit Bose wrote:
Hi,

the attached patches add ERANGE handling to getpwnam(), getpwuid(),
getgrnam() and getgrgid().

I added a configurable limit to the buffer allocation which defaults to
128MB. If you think this limit should be change or there should be no
limit at all please let me know.
I'd recommend to increase minimal buffer size to 16KB or sysconf value
whatever is higher (current sysconf initial value is 1KB which is low
for our needs).

128MB for maximum before bailing out seems OK.

I haven't reviewed the rest of patches yet.

--
/ Alexander Bokovoy

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to