Skip to content

Commit

Permalink
Increase max tables to support extremely large signature files
Browse files Browse the repository at this point in the history
  • Loading branch information
emesare committed Dec 1, 2024
1 parent bae7379 commit 0ee5a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Data {
std::io::copy(&mut decoder, &mut decompressed_data).ok()?;
let opts = flatbuffers::VerifierOptions {
// Trust me bro.
max_tables: 10_000_000,
max_tables: 100_000_000,
..Default::default()
};
flatbuffers::root_with_opts::<fb::Data>(&opts, &decompressed_data)
Expand Down

0 comments on commit 0ee5a6f

Please sign in to comment.