git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f751f
)
check pointer before dereferencing it
author
Gerald Carter
<jerry@samba.org>
Fri, 7 Feb 2003 16:20:58 +0000
(16:20 +0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 7 Feb 2003 16:20:58 +0000
(16:20 +0000)
source/smbd/sesssetup.c
patch
|
blob
|
history
diff --git
a/source/smbd/sesssetup.c
b/source/smbd/sesssetup.c
index 679f040b2cb5d9f07d9b97a9ffb7baf724088bcc..bb7d17be56f4a190e143f063c1cabe6b1f5f9435 100644
(file)
--- a/
source/smbd/sesssetup.c
+++ b/
source/smbd/sesssetup.c
@@
-272,7
+272,7
@@
static BOOL reply_spnego_ntlmssp(connection_struct *conn, char *outbuf,
set_message(outbuf,4,0,True);
SSVAL(outbuf, smb_vwv3, 0);
- if ((*auth_ntlmssp_state)->server_info->guest) {
+ if ((*auth_ntlmssp_state)->server_info
&& (*auth_ntlmssp_state)->server_info
->guest) {
SSVAL(outbuf,smb_vwv2,1);
}