From 278b7894afbe7d186886d1f27152c9d715f16b48 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Sun, 28 Nov 2021 08:06:30 -0300 Subject: [PATCH] Fix wrong return to prevent infinity loop --- tcpdi/tcpdi_parser.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tcpdi/tcpdi_parser.php b/tcpdi/tcpdi_parser.php index 2391934..e97f3bb 100644 --- a/tcpdi/tcpdi_parser.php +++ b/tcpdi/tcpdi_parser.php @@ -720,8 +720,7 @@ protected function getRawObject($offset=0, $data=null) { $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; }