r8254: fixed a valgrind error in the unix auth code
authorAndrew Tridgell <tridge@samba.org>
Sat, 9 Jul 2005 05:24:35 +0000 (05:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:26 +0000 (13:19 -0500)
(This used to be commit ad1a4802d0634960646a6efe039fe8b62ead63dd)

source4/scripting/ejs/smbcalls.c

index ab5101db6d1524eff3fe23ad773dd80589ca049f..d8bb0c20a55288e4e84988146b59aee19dbeb91b 100644 (file)
@@ -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,