[Rust] Add length checks to arrays and vectors. (#7130)

* [Rust] Add length checks to arrays and vectors.

The previous behavior allowed for out of bounds access in
the public API (#7011).

* bump semver and test warning

Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
Casper
2022-02-24 13:49:59 -05:00
committed by GitHub
parent c9571d9897
commit 3d903302c3
4 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "flatbuffers"
version = "2.1.0"
version = "2.1.1"
edition = "2018"
authors = ["Robert Winslow <hello@rwinslow.com>", "FlatBuffers Maintainers"]
license = "Apache-2.0"