summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-12-06 18:13:23 +0100
committerGünther Deschner <gd@samba.org>2012-12-12 09:42:33 +0100
commit5bc5761c06decc6b1fadff5f246c820e1db3fed3 (patch)
tree657e90794e16bce250266a5355796bd5568e045d /source3/auth
parentd020c51978727185803edc5575adaf485b6e894e (diff)
downloadsamba-5bc5761c06decc6b1fadff5f246c820e1db3fed3.tar.gz
samba-5bc5761c06decc6b1fadff5f246c820e1db3fed3.tar.bz2
samba-5bc5761c06decc6b1fadff5f246c820e1db3fed3.zip
s3-auth: Make sure we work on valid data_blobs.
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index b75a390f36..1367186a55 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -231,8 +231,8 @@ bool make_user_info_netlogon_interactive(struct auth_usersupplied_info **user_in
{
bool ret;
NTSTATUS nt_status;
- DATA_BLOB local_lm_blob;
- DATA_BLOB local_nt_blob;
+ DATA_BLOB local_lm_blob = data_blob_null;
+ DATA_BLOB local_nt_blob = data_blob_null;
if (lm_interactive_pwd) {
local_lm_blob = data_blob(local_lm_response,