Do not segfault in pdb_search_destructor if no real search was started
authorVolker Lendecke <vl@samba.org>
Wed, 27 May 2009 16:40:13 +0000 (18:40 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Feb 2010 13:46:49 +0000 (14:46 +0100)
commit389c94a5802115ae6adde5eb108d5122c21123f8
tree8c7d19240b2d656959fb03f366e83b74ed279e04
parent3b330fe8d6a20332acc78e94e2e7acd207c4fffc
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).
(cherry picked from commit 135b67a627fd1e98b4211fe3ac738ae2fec10145)
source3/passdb/pdb_interface.c