diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-08-11 21:00:13 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-08-11 21:00:13 +0000 |
commit | 494ea488210eae8206dce69ebbff977fe37f8f83 (patch) | |
tree | f45f0acf4ea958d1d8d1fe289e208206f8a527a6 | |
parent | 6932617c50f0cd084b7d8ad4f976d7ac33394c01 (diff) | |
download | samba-494ea488210eae8206dce69ebbff977fe37f8f83.tar.gz samba-494ea488210eae8206dce69ebbff977fe37f8f83.tar.xz samba-494ea488210eae8206dce69ebbff977fe37f8f83.zip |
I think this is the one to check...
Volker
(This used to be commit f6d853d36a37dd854a410717af2f7eaf9457eeb5)
-rw-r--r-- | source3/libsmb/ntlmssp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index e76ad75e6ec..a314aa15dba 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -172,6 +172,9 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state, target_name = ntlmssp_target_name(ntlmssp_state, neg_flags, &chal_flags); + if (target_name == NULL) + return NT_STATUS_INVALID_PARAMETER; + /* This should be a 'netbios domain -> DNS domain' mapping */ dnsdomname[0] = '\0'; get_mydomname(dnsdomname); |