From 1d9ea911e39b4619a0857171a3362bc2ff40bf96 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 22 Oct 2008 05:24:00 +0200 Subject: Change buffer size back to 256, just to be sure. --- source4/libcli/auth/smbencrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c index 54daf19a12..a78c444da7 100644 --- a/source4/libcli/auth/smbencrypt.c +++ b/source4/libcli/auth/smbencrypt.c @@ -93,7 +93,7 @@ bool E_md4hash(const char *passwd, uint8_t p16[16]) bool E_deshash(const char *passwd, uint8_t p16[16]) { bool ret = true; - char dospwd[20]; + char dospwd[256]; ZERO_STRUCT(dospwd); /* Password must be converted to DOS charset - null terminated, uppercase. */ -- cgit