1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00

Fix uninitialized keymic buffer

This commit is contained in:
jsteube 2017-09-19 11:58:18 +02:00
parent beab5457e6
commit b14f44dcf7
2 changed files with 20 additions and 0 deletions

View File

@ -384,6 +384,11 @@ __kernel void m02500_comp (__global pw_t *pws, __global const kernel_rule_t *rul
u32 keymic[4];
keymic[0] = 0;
keymic[1] = 0;
keymic[2] = 0;
keymic[3] = 0;
if (wpa->keyver == 1)
{
sha1_hmac_ctx_t ctx1;
@ -658,6 +663,11 @@ __kernel void m02500_comp (__global pw_t *pws, __global const kernel_rule_t *rul
u32 keymic[4];
keymic[0] = 0;
keymic[1] = 0;
keymic[2] = 0;
keymic[3] = 0;
if (wpa->keyver == 1)
{
sha1_hmac_ctx_t ctx1;

View File

@ -258,6 +258,11 @@ __kernel void m02501_comp (__global pw_t *pws, __global const kernel_rule_t *rul
u32 keymic[4];
keymic[0] = 0;
keymic[1] = 0;
keymic[2] = 0;
keymic[3] = 0;
if (wpa->keyver == 1)
{
sha1_hmac_ctx_t ctx1;
@ -532,6 +537,11 @@ __kernel void m02501_comp (__global pw_t *pws, __global const kernel_rule_t *rul
u32 keymic[4];
keymic[0] = 0;
keymic[1] = 0;
keymic[2] = 0;
keymic[3] = 0;
if (wpa->keyver == 1)
{
sha1_hmac_ctx_t ctx1;