diff options
author | Sumit Bose <sbose@redhat.com> | 2015-02-24 15:33:39 +0100 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2015-03-09 14:48:08 +0100 |
commit | 50c8f0c80175c7812bb523ab2387b19a94245b59 (patch) | |
tree | 7aae45fa616ad827147782446cdcb23096b8efb1 /daemons/ipa-version.h.in | |
parent | 8c89807b112585d85c1941d3d58b546e79ea2409 (diff) | |
download | freeipa-50c8f0c80175c7812bb523ab2387b19a94245b59.tar.gz freeipa-50c8f0c80175c7812bb523ab2387b19a94245b59.tar.xz freeipa-50c8f0c80175c7812bb523ab2387b19a94245b59.zip |
extdom: handle ERANGE return code for getXXYYY_r() calls
The getXXYYY_r() calls require a buffer to store the variable data of
the passwd and group structs. If the provided buffer is too small ERANGE
is returned and the caller can try with a larger buffer again.
Cmocka/cwrap based unit-tests for get*_r_wrapper() are added.
Resolves https://fedorahosted.org/freeipa/ticket/4908
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'daemons/ipa-version.h.in')
0 files changed, 0 insertions, 0 deletions