Skip to content

Commit

Permalink
fix: Avoid panics when decoding invalid messages
Browse files Browse the repository at this point in the history
* fix: avoid panics when decoding invalid/corrupt messages

added bounds checks to all paths in `Decoder` to prevent panics
added unit and fuzz test for `Decoder.DecodeTag()`

* chore(lint): address deprecation linter warnings

updated Google V1 path in `ExtensionFieldNumber()` to address linter warning
added unit tests for `ExtensionFieldNumber()`
  • Loading branch information
Dylan Bourque authored Dec 16, 2022
1 parent f97268d commit 93ef2b2
Show file tree
Hide file tree
Showing 6 changed files with 342 additions and 67 deletions.
Loading

0 comments on commit 93ef2b2

Please sign in to comment.