mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
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>
This commit is contained in:
parent
f8363dd22a
commit
0e62f32795
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user