Merge pull request #23972 from SylvainLegrand/Fix_infinite_loop_when_mergin_PDF
Fix tcpdi_parser infinite loop
This commit is contained in:
commit
d0e27cf1df
@ -715,8 +715,7 @@ class tcpdi_parser {
|
||||
$next = strcspn($data, "\r\n", $offset);
|
||||
if ($next > 0) {
|
||||
$offset += $next;
|
||||
list($obj, $unused) = $this->getRawObject($offset, $data);
|
||||
return $obj;
|
||||
return $this->getRawObject($offset, $data);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user