Skip to content

Commit

Permalink
Fix: segmentation fault in md4 calculation (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStiefvater committed Jul 7, 2022
1 parent 717678e commit aa3655e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nasl/md4.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ mdfour64_ntlmssp (uint32 *M)
C &= 0xFFFFFFFF;
D &= 0xFFFFFFFF;

for (size_t i = 0; i < sizeof (X); i++)
for (size_t i = 0; i < 16; i++)
{
*(volatile char *) (X + i) = '\0';
}
Expand Down

0 comments on commit aa3655e

Please sign in to comment.