1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Merge pull request #2 from philsmd/master

for issue #1: cuMemsetD8() 1 error
This commit is contained in:
Jens Steube 2015-12-05 12:25:03 +01:00
commit a1b373a418
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
* changes v2.00 -> v2.01:
Type.: Bug
File.: Host
Desc.: Fix for a cuMemsetD8() 1 error in attacks different from mask attacks
Issue: 1
* changes v1.37 -> v2.00:
Type: Project

View File

@ -2695,7 +2695,10 @@ static void run_copy (hc_device_param_t *device_param, const uint pws_cnt)
// clear some leftovers from previous run (maskfiles, etc)
#ifdef _CUDA
hc_cuMemsetD8 (device_param->c_bfs, 0, device_param->c_bytes);
if (device_param->c_bfs != 0) // should be only true in this specific case: if (data.attack_kern == ATTACK_KERN_BF)
{
hc_cuMemsetD8 (device_param->c_bfs, 0, device_param->c_bytes);
}
#endif
if (data.attack_kern == ATTACK_KERN_STRAIGHT)