Skip to content

add CBORReader max object limit #7

@britram

Description

@britram

CBORReader needs a way to implement object size limits (e.g., for parser DoS defense). Add a limit field to the CBORReader struct, start counting against the limit when a "top-level" read begins, and return an error when the limit is exceeded.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions