mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
CVE-2015-5370: s4:librpc/rpc: avoid using hs->p->conn->security_state.auth_info in dcerpc_bh_auth_info()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11344 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
3e3ea1bdd8
commit
a735892f51
@ -225,12 +225,8 @@ static void dcerpc_bh_auth_info(struct dcerpc_binding_handle *h,
|
||||
return;
|
||||
}
|
||||
|
||||
if (hs->p->conn->security_state.auth_info == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
*auth_type = hs->p->conn->security_state.auth_info->auth_type;
|
||||
*auth_level = hs->p->conn->security_state.auth_info->auth_level;
|
||||
*auth_type = hs->p->conn->security_state.auth_type;
|
||||
*auth_level = hs->p->conn->security_state.auth_level;
|
||||
}
|
||||
|
||||
struct dcerpc_bh_raw_call_state {
|
||||
|
Loading…
x
Reference in New Issue
Block a user