mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 15:37:27 +00:00
Clarified Verifier options.
Change-Id: I04775dedc61f1c448eedb1883182af7b07239797 Tested: on Linux.
This commit is contained in:
@@ -251,7 +251,9 @@ reading, the actual overhead may be even lower than expected.
|
||||
In specialized cases where a denial of service attack is possible,
|
||||
the verifier has two additional constructor arguments that allow
|
||||
you to limit the nesting depth and total amount of tables the
|
||||
verifier may encounter before declaring the buffer malformed.
|
||||
verifier may encounter before declaring the buffer malformed. The default is
|
||||
`Verifier(buf, len, 64 /* max depth */, 1000000, /* max tables */)` which
|
||||
should be sufficient for most uses.
|
||||
|
||||
## Text & schema parsing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user