nss_wins: Use lp_global_no_reinit()
authorAndreas Schneider <asn@samba.org>
Fri, 23 Oct 2015 13:28:23 +0000 (15:28 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 26 Oct 2015 20:23:21 +0000 (21:23 +0100)
commit0abbfb2e4d5bcd847983ef7981840f1eab7b917c
tree5eac6c85cb78372197062c17d93697a0f39a658e
parent0d962e010ea834c0479f403a4c8b38b05b7a0409
nss_wins: Use lp_global_no_reinit()

This avoids that we run into use after free issues when we access memory
allocated on the globals and the global being reinitialized.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11563

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
nsswitch/wins.c