diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-01-08 12:04:22 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-01-08 14:34:13 +0100 |
commit | 0e62f3279525ea864590f713f334f4dc5f5d3a32 (patch) | |
tree | c70a22c255c594ea89d7180449781bb3cba16240 /libcli/auth/netlogon_creds_cli.c | |
parent | f8363dd22a67108022bc0fe95003450f79057f7d (diff) | |
download | samba-0e62f3279525ea864590f713f334f4dc5f5d3a32.tar.gz samba-0e62f3279525ea864590f713f334f4dc5f5d3a32.tar.xz samba-0e62f3279525ea864590f713f334f4dc5f5d3a32.zip |
libcli/auth: fix usage of an uninitialized variable in netlogon_creds_cli_check_caps()
If status is RPC_PROCNUM_OUT_OF_RANGE, result might be uninitialized.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli/auth/netlogon_creds_cli.c')
-rw-r--r-- | libcli/auth/netlogon_creds_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/auth/netlogon_creds_cli.c b/libcli/auth/netlogon_creds_cli.c index 17240640ca8..51b30a14b78 100644 --- a/libcli/auth/netlogon_creds_cli.c +++ b/libcli/auth/netlogon_creds_cli.c @@ -1390,7 +1390,7 @@ struct netlogon_creds_cli_check_state { }; static void netlogon_creds_cli_check_cleanup(struct tevent_req *req, - NTSTATUS status); + NTSTATUS status); static void netlogon_creds_cli_check_locked(struct tevent_req *subreq); struct tevent_req *netlogon_creds_cli_check_send(TALLOC_CTX *mem_ctx, @@ -1582,7 +1582,7 @@ static void netlogon_creds_cli_check_caps(struct tevent_req *subreq) * with the next request as the sequence number processing * gets out of sync. */ - netlogon_creds_cli_check_cleanup(req, result); + netlogon_creds_cli_check_cleanup(req, status); tevent_req_done(req); return; } |