torture:drs/rpc/msds_intid.c - proof for the correct "intId"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 9 Jan 2011 10:38:53 +0000 (11:38 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 12 Jan 2011 18:52:19 +0000 (19:52 +0100)
"drs_attr" is uninitialised in this loop

source4/torture/drs/rpc/msds_intid.c

index 9fc141ff74cb4ee0d8f56804feebd6414f9cab85..53f4992ba29c593e2ab10b681567131d6edef43e 100644 (file)
@@ -546,7 +546,7 @@ static bool test_dsintid_schema(struct torture_context *tctx, struct DsIntIdTest
                                                   la->identifier))
                if (dsdb_attr->msDS_IntId) {
                        torture_assert(tctx,
-                                      drs_attr->attid != dsdb_attr->msDS_IntId,
+                                      la->attid != dsdb_attr->msDS_IntId,
                                       _make_error_message(ctx, la->attid,
                                                           dsdb_attr,
                                                           la->identifier))