diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-03 11:18:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:27 -0500 |
commit | 8c4733b412591f2b23031283a078d701b6199ca7 (patch) | |
tree | 48cb22bb78fac78e783d0b91ba69bcf277e15dd4 | |
parent | b910a7c5e3553113aeda83865276defa59f68691 (diff) | |
download | samba-8c4733b412591f2b23031283a078d701b6199ca7.tar.gz samba-8c4733b412591f2b23031283a078d701b6199ca7.tar.bz2 samba-8c4733b412591f2b23031283a078d701b6199ca7.zip |
r7219: Don't allow 'binding' to be used uninitilaised.
Andrew Bartlett
(This used to be commit 3dd730fbc880ddc4f2efc6105cd21ec45f4afdd5)
-rw-r--r-- | source4/auth/auth_domain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/auth_domain.c b/source4/auth/auth_domain.c index 4e5acf36e3..041135e4d4 100644 --- a/source4/auth/auth_domain.c +++ b/source4/auth/auth_domain.c @@ -49,6 +49,8 @@ static NTSTATUS domain_check_password(struct auth_method_context *ctx, if (bindings && bindings[0]) { binding = bindings[0]; + } else { + return NT_STATUS_INVALID_PARAMETER; } if (!user_info->account_name) { |