Fix a bug in -m 1500, returned invalid plain is cracking slice was not 0
authorjsteube <jens.steube@gmail.com>
Fri, 10 Jun 2016 15:48:04 +0000 (17:48 +0200)
committerjsteube <jens.steube@gmail.com>
Fri, 10 Jun 2016 15:48:04 +0000 (17:48 +0200)
OpenCL/inc_comp_single_bs.cl

index 5c081c1..2c5e70f 100644 (file)
@@ -2,5 +2,5 @@ const u32 final_hash_pos = digests_offset + 0;
 
 if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
 {
-  mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos);
+  mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos + slice);
 }