summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-04-28 02:36:35 +0200
committerKarolin Seeger <kseeger@samba.org>2016-07-05 09:21:54 +0200
commitdb256b6163fc010b4d895366327a81ee7e0eb24a (patch)
tree2d577cfd72a26fdabb4dc633c5205b5dd77ae821
parentb9200a6fe1f2e78d714420d162e00590de6827b0 (diff)
downloadsamba-db256b6163fc010b4d895366327a81ee7e0eb24a.tar.gz
CVE-2016-2019: s3:libsmb: add comment regarding smbXcli_session_is_guest() with mandatory signing
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11860 Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/libsmb/cliconnect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 420fe3c5e04..3de379616b5 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1606,6 +1606,9 @@ static void cli_session_setup_gensec_remote_done(struct tevent_req *subreq)
* have a negotiated session key.
*
* So just pretend we are completely done.
+ *
+ * Note that smbXcli_session_is_guest()
+ * always returns false if we require signing.
*/
state->blob_in = data_blob_null;
state->local_ready = true;