-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that attempts to read integers from TLV don't silently produce…
… unexpected values. (#9944) Two changes: 1) Ensure the value was encoded with the signed-ness the reader expects. 2) Ensure the value is in the range the reader expects instad of ending up with overflow and whatever that does.. Fixes #5152 The test changes were largely lifted from #5764
- Loading branch information
1 parent
8e9a62b
commit 903632d
Showing
2 changed files
with
301 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.