1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Fix decrypting of arrays

This commit is contained in:
Martin Koegler 2013-03-01 15:39:12 +01:00
parent 4a45efa718
commit 63c9685ea7

View file

@ -60,7 +60,7 @@ var Parser = (function ParserClosure() {
this.shift();
var array = [];
while (!isCmd(this.buf1, ']') && !isEOF(this.buf1))
array.push(this.getObj());
array.push(this.getObj(cipherTransform));
if (isEOF(this.buf1))
error('End of file inside array');
this.shift();