Merge pull request #23972 from SylvainLegrand/Fix_infinite_loop_when_mergin_PDF

Fix tcpdi_parser infinite loop
This commit is contained in:
Laurent Destailleur 2023-02-20 21:15:26 +01:00 committed by GitHub
commit d0e27cf1df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}