Commit 14adecb9 authored by Albert Astals Cid's avatar Albert Astals Cid

Decrypt::md5: initialize x

When msgLen is small enough x would had initialized values for some
parts of the md5 calculation

fixes oss-fuzz/8492
parent 71bb82bd
......@@ -1150,7 +1150,7 @@ static inline Gulong md5Round4(Gulong a, Gulong b, Gulong c, Gulong d,
}
void md5(Guchar *msg, int msgLen, Guchar *digest) {
Gulong x[16];
Gulong x[16] = {};
Gulong a, b, c, d, aa, bb, cc, dd;
int n64;
int i, j, k;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment