Fix: Bad management of error
This commit is contained in:
parent
495d066cfc
commit
ba98f6f94a
@ -23,6 +23,21 @@ Replace call to serialize_val with no bugged value
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
FPDI:
|
||||||
|
-----
|
||||||
|
Replace:
|
||||||
|
$this->_readXref($this->_xref, $this->_findXref());
|
||||||
|
with:
|
||||||
|
try {
|
||||||
|
$this->_readXref($this->_xref, $this->_findXref());
|
||||||
|
}
|
||||||
|
catch(Exception $e)
|
||||||
|
{
|
||||||
|
print $e->getMessage();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
TCPDF:
|
TCPDF:
|
||||||
------
|
------
|
||||||
* Removed all fonts except
|
* Removed all fonts except
|
||||||
|
|||||||
@ -199,7 +199,14 @@ class pdf_parser
|
|||||||
|
|
||||||
// Read xref-Data
|
// Read xref-Data
|
||||||
$this->_xref = array();
|
$this->_xref = array();
|
||||||
|
try {
|
||||||
$this->_readXref($this->_xref, $this->_findXref());
|
$this->_readXref($this->_xref, $this->_findXref());
|
||||||
|
}
|
||||||
|
catch(Exception $e)
|
||||||
|
{
|
||||||
|
print $e->getMessage();
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
// Check for Encryption
|
// Check for Encryption
|
||||||
$this->getEncryption();
|
$this->getEncryption();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user