-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Harden FamStructWrapper against integer overflows
Add some additional checks around integer overflows when multiplying/casting, to ensure that code added in the future does not trigger potential overflow bugs. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
- Loading branch information
1 parent
3fb8f76
commit 5bf1061
Showing
1 changed file
with
50 additions
and
17 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