Fix a segfault
commit689cd9e1012bba0a4e9a7da4bbf8b2833e0f1684
authorVolker Lendecke <vl@samba.org>
Tue, 25 Mar 2008 21:21:50 +0000 (25 22:21 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 25 Mar 2008 22:36:06 +0000 (25 23:36 +0100)
tree36c4a61aa54070f0379fa3c3e94b24327715a557
parent04cd5c6bd8bb0b18e631ba3a42d004ac959bf106
Fix a segfault

When we get a NT_STATUS_WRONG_PASSWORD for example, my_info3 is not initialized
at all. So first check that we have NT_STATUS_IS_OK(status) before we
dereference my_info3.
(This used to be commit 559cd9e5a7fac3ce3769d457132cdcb28569b93d)
source3/winbindd/winbindd_pam.c