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 dereferencing sec->auth_info in dcerpc_request_prepare_vt()
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
d4e735ce6a
commit
46be37936c
@ -1641,11 +1641,7 @@ static NTSTATUS dcerpc_request_prepare_vt(struct rpc_request *req)
|
||||
struct ndr_push *ndr = NULL;
|
||||
enum ndr_err_code ndr_err;
|
||||
|
||||
if (sec->auth_info == NULL) {
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
if (sec->auth_info->auth_level < DCERPC_AUTH_LEVEL_INTEGRITY) {
|
||||
if (sec->auth_level < DCERPC_AUTH_LEVEL_INTEGRITY) {
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user