Merge pull request #3954 from yurydelendik/invalid-start
Index objects if Prev xref was not found
This commit is contained in:
commit
2af3e25651
@ -977,6 +977,8 @@ var XRef = (function XRefClosure() {
|
|||||||
|
|
||||||
if (!dict)
|
if (!dict)
|
||||||
error('Failed to read XRef stream');
|
error('Failed to read XRef stream');
|
||||||
|
} else {
|
||||||
|
error('Invalid XRef stream header');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Recursively get previous dictionary, if any
|
// Recursively get previous dictionary, if any
|
||||||
|
Loading…
Reference in New Issue
Block a user