const char *PROGNAME = "oclHashcat";
#endif
-const char *VERSION_TXT = "2.00";
-const uint VERSION_BIN = 200;
+const char *VERSION_TXT = "2.01";
+const uint VERSION_BIN = 201;
const uint RESTORE_MIN = 200;
#define INCR_RULES 10000
// 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)