buffer overflow fix for -m 8900 = scrypt
authorphilsmd <philsmd@hashcat.net>
Tue, 19 Jan 2016 18:04:52 +0000 (19:04 +0100)
committerphilsmd <philsmd@hashcat.net>
Tue, 19 Jan 2016 18:04:52 +0000 (19:04 +0100)
src/shared.c

index a508d75..c50e32b 100644 (file)
@@ -14586,7 +14586,7 @@ int scrypt_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf)
 
   // base64 decode
 
-  u8 tmp_buf[32];
+  u8 tmp_buf[33];
 
   memset (tmp_buf, 0, sizeof (tmp_buf));