Fixes missing compressed object detection

This commit is contained in:
Yury Delendik 2013-06-21 18:02:58 -05:00
parent ce218d021f
commit 7bef903411
3 changed files with 10 additions and 1 deletions

View File

@ -969,7 +969,7 @@ var XRef = (function XRefClosure() {
} }
} }
e = entries[e.gen]; e = entries[e.gen];
if (!e) { if (e === undefined) {
error('bad XRef entry for compressed object'); error('bad XRef entry for compressed object');
} }
return e; return e;

View File

@ -0,0 +1 @@
https://bug867484.bugzilla.mozilla.org/attachment.cgi?id=744001

View File

@ -678,6 +678,14 @@
"link": true, "link": true,
"type": "eq" "type": "eq"
}, },
{ "id": "bug867484",
"file": "pdfs/bug867484.pdf",
"md5": "347af7b0ef7279b1a7f43b03bfda4548",
"rounds": 1,
"lastPage": 1,
"link": true,
"type": "load"
},
{ "id": "issue1466", { "id": "issue1466",
"file": "pdfs/issue1466.pdf", "file": "pdfs/issue1466.pdf",
"md5": "8a8877432e5bb10cfd50d60488d947bb", "md5": "8a8877432e5bb10cfd50d60488d947bb",