diff options
author | Matthias Guedemann <matthias.guedemann@ovgu.de> | 2011-05-25 14:27:55 +0200 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-05-26 15:13:46 -0700 |
commit | 3185df17eb6c7621df3945841af58f2b19facc40 (patch) | |
tree | 849b5cf52da47ce97e30b0ef8a2f1fd0f419c171 /test/search | |
parent | eb4e0ea2ab4d2515ab9575ee99ad024d03765199 (diff) |
Fix check of sysconf return in get_name/username_from_passwd_file
Fix to check the value returned by sysconf(_SC_GETPW_R_SIZE_MAX)
before using the value.
This fixes a core dump on DragonFlyBSD where this function returns -1.
Diffstat (limited to 'test/search')
0 files changed, 0 insertions, 0 deletions