summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poppler/Decrypt.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/poppler/Decrypt.cc b/poppler/Decrypt.cc
index ca294d39..128dbb9a 100644
--- a/poppler/Decrypt.cc
+++ b/poppler/Decrypt.cc
@@ -229,6 +229,8 @@ DecryptStream::DecryptStream(Stream *strA, Guchar *fileKey,
if ((objKeyLength = keyLength + 5) > 16) {
objKeyLength = 16;
}
+
+ charactersRead = 0;
}
DecryptStream::~DecryptStream() {