mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r7219: Don't allow 'binding' to be used uninitilaised.
Andrew Bartlett
(This used to be commit 3dd730fbc8
)
This commit is contained in:
parent
b910a7c5e3
commit
8c4733b412
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user