From: Jelmer Vernooij Date: Wed, 22 Oct 2008 03:24:00 +0000 (+0200) Subject: Change buffer size back to 256, just to be sure. X-Git-Tag: samba-4.0.0alpha6~755 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d9ea911e39b4619a0857171a3362bc2ff40bf96;p=thirdparty%2Fsamba.git Change buffer size back to 256, just to be sure. --- diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c index 54daf19a124..a78c444da79 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. */