Change buffer size back to 256, just to be sure.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 22 Oct 2008 03:24:00 +0000 (05:24 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 22 Oct 2008 03:24:00 +0000 (05:24 +0200)
source4/libcli/auth/smbencrypt.c

index 54daf19a124fd763908ca127a676dcf102aee49c..a78c444da79df69940f8536b9acc4165cc7fe1f9 100644 (file)
@@ -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. */