Commit a2dab023 authored by Albert Astals Cid's avatar Albert Astals Cid

Initialize properly charactersRead

It is possible that there are calls to getPos before reset
Found thanks to PDF provided by Joel Voss of Leviathan Security Group
parent 39d140bf
......@@ -229,6 +229,8 @@ DecryptStream::DecryptStream(Stream *strA, Guchar *fileKey,
if ((objKeyLength = keyLength + 5) > 16) {
objKeyLength = 16;
}
charactersRead = 0;
}
DecryptStream::~DecryptStream() {
......
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