ghuls commented on a change in pull request #9349: URL: https://github.com/apache/arrow/pull/9349#discussion_r566326075
########## 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: Like this? ```c++ // Increase max_tables from default 1000000 to UINT_MAX when verfying a flatbuffer. flatbuffers::Verifier verifier(data, footer_buffer_->size(), 128, 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