Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
Now that kernel threads are no longer fixed over the entire session, hardware_power and hardware_power_all needs to be updated the same way as kernel_power and kernel_power_all for each call to inner2_loop().
This commit is contained in:
@@ -1242,6 +1242,7 @@ typedef struct hc_device_param
|
||||
u32 kernel_loops_min_sav; // the _sav are required because each -i iteration
|
||||
u32 kernel_loops_max_sav; // needs to recalculate the kernel_loops_min/max based on the current amplifier count
|
||||
u32 kernel_threads;
|
||||
u32 kernel_threads_prev;
|
||||
u32 kernel_threads_min;
|
||||
u32 kernel_threads_max;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user