diff options
author | Gerald Carter <jerry@samba.org> | 2003-02-07 16:20:42 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-02-07 16:20:42 +0000 |
commit | 67acaa00264e40f92dc06855a913138df676abe5 (patch) | |
tree | 00b7a78a23e97f407ef8ae047aca18bc5c6b7d5c /source3/smbd | |
parent | 13f65125ac8bcbb3b3367ec6feab504272fb388f (diff) | |
download | samba-67acaa00264e40f92dc06855a913138df676abe5.tar.gz samba-67acaa00264e40f92dc06855a913138df676abe5.tar.bz2 samba-67acaa00264e40f92dc06855a913138df676abe5.zip |
check pointer before dereferencing it
(This used to be commit 8712bd1f8eb5321278e7c57bfdc7bdddbdaf1424)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 679f040b2c..bb7d17be56 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/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); } |