mirror of
https://github.com/hashcat/hashcat
synced 2024-11-24 14:27:14 +01:00
Fixed a bug where hashcat crashes in case of a scrypt P setting > 1
This commit is contained in:
parent
30919d4641
commit
fc2b20b273
@ -14,6 +14,7 @@
|
||||
- Fixed a bug where hashcat is suppressing --machine-readable output in the final status update
|
||||
- Fixed a bug where hashcat did not check the return of realpath() and crashes uncontrolled if the path does not exist
|
||||
- Fixed a bug where hashcat crashes for accessing deallocated buffer if user spams "s" shortly before hashcat shuts down
|
||||
- Fixed a bug where hashcat crashes in case of a scrypt P setting > 1
|
||||
|
||||
* changes v2.01 -> v3.00:
|
||||
|
||||
|
@ -15168,7 +15168,7 @@ int main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
data.scrypt_tmp_size = (128 * scrypt_r);
|
||||
data.scrypt_tmp_size = (128 * scrypt_r * scrypt_p);
|
||||
|
||||
device_param->kernel_accel_min = 1;
|
||||
device_param->kernel_accel_max = 8;
|
||||
@ -15212,7 +15212,7 @@ int main (int argc, char **argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (quiet == 0) log_info ("SCRYPT tmto optimizer value set to: %u, mem: %u\n", data.scrypt_tmto_final, size_scrypt);
|
||||
if (quiet == 0) log_info ("SCRYPT tmto optimizer value set to: %u, mem: %llu\n", data.scrypt_tmto_final, (unsigned long long int) size_scrypt);
|
||||
}
|
||||
|
||||
size_t size_scrypt4 = size_scrypt / 4;
|
||||
|
Loading…
Reference in New Issue
Block a user