diff options
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 9405c065e1..c42a35e809 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -876,6 +876,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf, session_key = data_blob(NULL, 16); SMBsesskeygen_lmv1(server_info->lm_session_key.data, lm_resp.data, session_key.data); + } else { + session_key = data_blob(NULL, 0); } data_blob_free(&lm_resp); |