git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cb4ee2
)
CVE-2016-2114: libcli/smb: let mandatory signing imply allowed signing
author
Ralph Boehme
<slow@samba.org>
Tue, 22 Mar 2016 15:25:32 +0000
(16:25 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Apr 2016 17:25:26 +0000
(19:25 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11687
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
libcli/smb/smb_signing.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smb_signing.c
b/libcli/smb/smb_signing.c
index e128e8f8a0bd77ca35a10af4251beb1f0d493e02..a7bc819f48965c8e040b74fd4635f827005bbc9d 100644
(file)
--- a/
libcli/smb/smb_signing.c
+++ b/
libcli/smb/smb_signing.c
@@
-424,6
+424,10
@@
bool smb_signing_set_negotiated(struct smb_signing_state *si,
return true;
}
+ if (mandatory) {
+ allowed = true;
+ }
+
if (!si->allowed && mandatory) {
return false;
}