mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
dsdb: Fix CID 1034719 Evaluation order violation
We assigned lp_ctx twice... Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
d09d428c5e
commit
7613174e7b
@ -2227,9 +2227,8 @@ static int setup_io(struct ph_context *ac,
|
||||
{
|
||||
const struct ldb_val *quoted_utf16, *old_quoted_utf16, *lm_hash, *old_lm_hash;
|
||||
struct ldb_context *ldb = ldb_module_get_ctx(ac->module);
|
||||
struct loadparm_context *lp_ctx =
|
||||
lp_ctx = talloc_get_type(ldb_get_opaque(ldb, "loadparm"),
|
||||
struct loadparm_context);
|
||||
struct loadparm_context *lp_ctx = talloc_get_type(
|
||||
ldb_get_opaque(ldb, "loadparm"), struct loadparm_context);
|
||||
int ret;
|
||||
|
||||
ZERO_STRUCTP(io);
|
||||
|
Loading…
x
Reference in New Issue
Block a user