nwrap: fix nwrap_module_getpwuid_r
authorRalph Wuerthner <ralph.wuerthner@de.ibm.com>
Fri, 19 Oct 2018 10:15:53 +0000 (12:15 +0200)
committerAndreas Schneider <asn@samba.org>
Tue, 30 Oct 2018 19:48:53 +0000 (20:48 +0100)
commit9e0b9d6d4872db507b65989f975b8e145cf81e8b
treec569094b6aa34a9bad864605e7010e9ddfc45dac
parent433ab5ed5766150bf0786ba6c48e701205cd1a1c
nwrap: fix nwrap_module_getpwuid_r

On success *pwdstp must point to pwdst, on error return NULL instead.

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/nss_wrapper.c