1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #2858 from mkoegler/master

Fix decrypting of arrays
This commit is contained in:
Yury Delendik 2013-03-01 08:59:11 -08:00
commit 69353e363d

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();