mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 09:51:12 +00:00
* [Swift] Verify size-prefixed roots from reader position Validate the size prefix before advancing ByteBuffer.reader, then use the active reader position consistently for root, file identifier, and returned-object verification. Cover malformed decoy roots, oversized prefixes, short identifiers, and valid prefixed identifiers. * Use wrapping arithmetic in Swift verifier --------- Co-authored-by: Darren Carreras <283775510+carrerasdarren-cell@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| Sources | ||
| BUILD.bazel | ||
| LICENSE | ||
| README.md | ||
FlatBuffers swift can be found in both SPM
.package(url: "https://github.com/google/flatbuffers.git", from: "X.Y.Z"),
and Cocoapods
pod 'FlatBuffers'
Contribute
1- Always run swift test --generate-linuxmain whenever new test functions are added or removed