Fix: Stack smashing
This commit is contained in:
parent
387e7aad34
commit
f7e2dfe133
1 changed files with 3 additions and 1 deletions
|
@ -79,9 +79,11 @@ int main(int argc, char** argv) {
|
|||
md2_hash(len, data, out);
|
||||
|
||||
printf("Hash: ");
|
||||
char hash[16];
|
||||
char hash[32];
|
||||
encodeHash(out, hash);
|
||||
printf("%s\n", hash);
|
||||
|
||||
free(data);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue