diff options
author | Jeremy Allison <jra@samba.org> | 2001-08-30 19:16:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-08-30 19:16:56 +0000 |
commit | 8debe5b629cb85c88d3ad62e2c6d2831db14f0d8 (patch) | |
tree | 05f87c6b1524b8d50a7c56e37d036a8e028eaa11 | |
parent | e555b969b2201bdb48ad9a0fc79f1e13ea25ec24 (diff) | |
download | samba-8debe5b629cb85c88d3ad62e2c6d2831db14f0d8.tar.gz samba-8debe5b629cb85c88d3ad62e2c6d2831db14f0d8.tar.bz2 samba-8debe5b629cb85c88d3ad62e2c6d2831db14f0d8.zip |
Fix from Paul Green to set correct lengths.
Jeremy.
(This used to be commit 52b9b6d519c38b2a3e524d098a09fb996e8a2047)
-rw-r--r-- | source3/auth/pass_check.c | 6 | ||||
-rw-r--r-- | source3/passdb/pass_check.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c index b6cc403b86..f8c0da89a6 100644 --- a/source3/auth/pass_check.c +++ b/source3/auth/pass_check.c @@ -27,9 +27,9 @@ extern int DEBUGLEVEL; /* these are kept here to keep the string_combinations function simple */ -static char this_user[100] = ""; -static char this_salt[100] = ""; -static char this_crypted[100] = ""; +static fstring this_user[100] = ""; +static fstring this_salt[100] = ""; +static fstring this_crypted[100] = ""; #ifdef WITH_AFS diff --git a/source3/passdb/pass_check.c b/source3/passdb/pass_check.c index b6cc403b86..f8c0da89a6 100644 --- a/source3/passdb/pass_check.c +++ b/source3/passdb/pass_check.c @@ -27,9 +27,9 @@ extern int DEBUGLEVEL; /* these are kept here to keep the string_combinations function simple */ -static char this_user[100] = ""; -static char this_salt[100] = ""; -static char this_crypted[100] = ""; +static fstring this_user[100] = ""; +static fstring this_salt[100] = ""; +static fstring this_crypted[100] = ""; #ifdef WITH_AFS |