From fe1cf1eeb7c1b5955cdd2a44540bb46f82490f9a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 9 Jul 2005 05:24:35 +0000 Subject: r8254: fixed a valgrind error in the unix auth code (This used to be commit ad1a4802d0634960646a6efe039fe8b62ead63dd) --- source4/scripting/ejs/smbcalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/ejs/smbcalls.c') diff --git a/source4/scripting/ejs/smbcalls.c b/source4/scripting/ejs/smbcalls.c index ab5101db6d..d8bb0c20a5 100644 --- a/source4/scripting/ejs/smbcalls.c +++ b/source4/scripting/ejs/smbcalls.c @@ -91,7 +91,7 @@ static int ejs_systemAuth(TALLOC_CTX *tmp_ctx, struct MprVar *auth, const char * goto done; } - pw_blob = data_blob(password, strlen(password)), + pw_blob = data_blob(password, strlen(password)+1), make_user_info(tmp_ctx, username, username, domain, domain, remote_host, remote_host, -- cgit