summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-09 05:24:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:26 -0500
commitfe1cf1eeb7c1b5955cdd2a44540bb46f82490f9a (patch)
tree2d7e69cfc902e77795705da8193aacbb9843c4bf /source4
parent514731b0ee7d8f9c79cbc88672a7957b7ba1eacd (diff)
downloadsamba-fe1cf1eeb7c1b5955cdd2a44540bb46f82490f9a.tar.gz
samba-fe1cf1eeb7c1b5955cdd2a44540bb46f82490f9a.tar.bz2
samba-fe1cf1eeb7c1b5955cdd2a44540bb46f82490f9a.zip
r8254: fixed a valgrind error in the unix auth code
(This used to be commit ad1a4802d0634960646a6efe039fe8b62ead63dd)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/ejs/smbcalls.c2
1 files changed, 1 insertions, 1 deletions
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,