dsdb: Fix CID 1034966 Uninitialized scalar variable
authorVolker Lendecke <vl@samba.org>
Wed, 28 Mar 2018 20:43:53 +0000 (15:43 -0500)
committerJeremy Allison <jra@samba.org>
Tue, 3 Apr 2018 22:44:23 +0000 (00:44 +0200)
commit925d1f23291c4bdbc832977b2b4577964b8301c8
tree6aaa8b6fbd3c49162b29c168addf3cda9635246a
parent2d7a3e0648f4f3175f453cf15050846fafdea745
dsdb: Fix CID 1034966 Uninitialized scalar variable

"continue" in a do-while loop jumps to the "while"-check, so "id_exists" needs
to be initialized by that point.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/samldb.c