-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#111: bugfix: fix out-of-bounds read in inline asm encoders
Fix an out-of-bounds read in the inline assembly encoder implementations. Rounds are 12 bytes in size, but reads are done in blocks of 16 bytes. To ensure that there is always enough space to read those 16 bytes, we need to "reserve" four bytes of input by subtracting those bytes from the input buffer. Resolves #111.
Showing
2 changed files
with
8 additions
and
4 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