pitrou commented on a change in pull request #9349:
URL: https://github.com/apache/arrow/pull/9349#discussion_r566327155



##########
File path: cpp/src/arrow/ipc/reader.cc
##########
@@ -1053,7 +1053,7 @@ class RecordBatchFileReaderImpl : public 
RecordBatchFileReader {
         file_->ReadAt(footer_offset_ - footer_length - file_end_size, 
footer_length));
 
     auto data = footer_buffer_->data();
-    flatbuffers::Verifier verifier(data, footer_buffer_->size(), 128);
+    flatbuffers::Verifier verifier(data, footer_buffer_->size(), 128, 
UINT_MAX);

Review comment:
       No, like this:
   ```c++
   
   flatbuffers::Verifier verifier(data, footer_buffer_->size(), 
/*max_depth=*/128, /*max_tables=*/UINT_MAX);
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to