Do not segfault in pdb_search_destructor if no real search was started
commit135b67a627fd1e98b4211fe3ac738ae2fec10145
authorVolker Lendecke <vl@samba.org>
Wed, 27 May 2009 16:40:13 +0000 (27 18:40 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 27 Jan 2010 14:59:32 +0000 (27 15:59 +0100)
tree2987b60d212b7a905c4943c06610077a1685fa34
parent69100db8c331ed15651ae52b88632d047f148ae4
Do not segfault in pdb_search_destructor if no real search was started
(cherry picked from commit d07464b21fe652e205f5eb2c74d12495bab100ce)

Fix bug #7068 (pdb_search api may crash as non-root user).
source3/passdb/pdb_interface.c