Re: [PATCH 1/1] Add missing null checks in libshouldbeinlibc

2015-10-05 Thread Justus Winter
Merged, thanks! Justus Quoting James Clarke (2015-09-29 19:06:46) > The getpwnam_r and similar functions only return non-zero on error, but not > finding the given name/UID/GID does not count as an error. When they return 0, > the value of the result (*result when looking at the arguments in the

[PATCH 1/1] Add missing null checks in libshouldbeinlibc

2015-09-30 Thread James Clarke
The getpwnam_r and similar functions only return non-zero on error, but not finding the given name/UID/GID does not count as an error. When they return 0, the value of the result (*result when looking at the arguments in the man pages) still needs to be checked for null. * libshouldbeinlibc/idvec-