Skip to content

Tracking issue: Rust buffer verification #4916

@rw

Description

@rw

This is a tracking issue to document design and implementation of a verifier system for Rust Flatbuffers. I'm thinking that we can clone the logic from the C++ codebase.

The benefit is twofold:

  1. Verifiers let users check if data is valid, thereby providing a security check for unknown data.
  2. If a buffer is verified, we can justify using more unsafe pointer access in Rust, thereby removing bounds checking.

Anyone have thoughts on this? @aardappel

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions