nsswitch: fix a segfault in the krb5 locator plugin
commit8a532bbba6cd0ebc269ffa4b02d8bbb1927f1ba5
authorChristian Ambach <christian.ambach@de.ibm.com>
Thu, 10 Feb 2011 14:55:50 +0000 (10 15:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 10:56:00 +0000 (14 12:56 +0200)
tree26830ae41905b69a330cfa3ba37ba59d22ec24ae
parent2a87791c4c4014f938d197a7b5e9237b83a20423
nsswitch: fix a segfault in the krb5 locator plugin

after the number of retries was exceeded, the loop did not
    bail out correctly with an error and went on using a null pointer

Fix bug #8008 (winbind krb5 locator crash).
(cherry picked from commit f5eba15db82ed679d72dc8b13912d54919343314)
nsswitch/winbind_krb5_locator.c