mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #3954 from yurydelendik/invalid-start
Index objects if Prev xref was not found
This commit is contained in:
commit
2af3e25651
1 changed files with 2 additions and 0 deletions
|
@ -977,6 +977,8 @@ var XRef = (function XRefClosure() {
|
|||
|
||||
if (!dict)
|
||||
error('Failed to read XRef stream');
|
||||
} else {
|
||||
error('Invalid XRef stream header');
|
||||
}
|
||||
|
||||
// Recursively get previous dictionary, if any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue