|
|
@ -3094,10 +3094,11 @@ var XRef = (function() { |
|
|
|
// check for 'XRefStm' key
|
|
|
|
// check for 'XRefStm' key
|
|
|
|
if (IsInt(obj = dict.get('XRefStm'))) { |
|
|
|
if (IsInt(obj = dict.get('XRefStm'))) { |
|
|
|
var pos = obj; |
|
|
|
var pos = obj; |
|
|
|
if (pos in this.xrefstms) |
|
|
|
// ignore previously loaded xref streams (possible infinite recursion)
|
|
|
|
error('Invalid XRef table'); |
|
|
|
if (!(pos in this.xrefstms)) { |
|
|
|
this.xrefstms[pos] = 1; // avoid infinite recursion
|
|
|
|
this.xrefstms[pos] = 1; |
|
|
|
this.readXRef(pos); |
|
|
|
this.readXRef(pos); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return dict; |
|
|
|
return dict; |
|
|
|