Test, a=chris

Chris Pollett [2022-08-21 17:Aug:st]
Test, a=chris
Filename
src/library/IndexDocumentBundle.php
diff --git a/src/library/IndexDocumentBundle.php b/src/library/IndexDocumentBundle.php
index b9e9bc7b9..55055e0ed 100644
--- a/src/library/IndexDocumentBundle.php
+++ b/src/library/IndexDocumentBundle.php
@@ -1424,7 +1424,7 @@ class IndexDocumentBundle implements CrawlConstants
             $int_info = ord($postings_string[$current_pos]);
             $current_pos++;
             $len_unpack_info = $unpack_len_map[$int_info];
-            if ($current_pos + $len_unpack_info > $len_posting_strings) {
+            if ($current_pos + $len_unpack_info >= $len_posting_strings) {
                 crawlLog("Posting decode error");
                 break; //sanity check break
             }
ViewGit