From 98ebf57144bd098ead853b4754875a859f1cafe9 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 22 Nov 2013 08:49:36 -0600 Subject: [PATCH] Index objects if Prev xref was not found --- src/core/obj.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/obj.js b/src/core/obj.js index 95dd50caa..10c2e98cc 100644 --- a/src/core/obj.js +++ b/src/core/obj.js @@ -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