s3: Fix Coverity ID 2613 -- UNINIT
authorVolker Lendecke <vl@samba.org>
Tue, 13 Sep 2011 08:47:15 +0000 (10:47 +0200)
committerVolker Lendecke <vlendec@samba.org>
Tue, 13 Sep 2011 10:39:10 +0000 (12:39 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Sep 13 12:39:10 CEST 2011 on sn-devel-104

source3/rpc_client/util_lsarpc.c

index df52f53471efdcbe580d6a15e03020909914ae4a..169c10bb5d574bfd751debf6ead19936fcc4c7f7 100644 (file)
@@ -65,6 +65,7 @@ static NTSTATUS ai_array_2_trust_domain_info_buffer(TALLOC_CTX *mem_ctx,
                                                           ai->array[i].AuthInfo.clear.size,
                                                           &b[i].data.data,
                                                           &size)) {
+                                       status = NT_STATUS_INVALID_PARAMETER;
                                        goto fail;
                                }
                                b[i].data.size = size;