-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deserialization/validation unit tests (#665)
* test: additional testing for deserialization Add tests to validate that deserialization and validation will catch invalid bitmaps. * fix: don't allow negative container counts getting deseriaize_size If we allow negative container counts, we can end up walking backwards before the beginning of the buffer. * test: run container deserialization unit tests
- Loading branch information
Showing
2 changed files
with
278 additions
and
35 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
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