-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Don't write verbatim input data into output buffer
This happened for cipher modes that do not generate any output before they are finalized. The FFI adapter botan_cipher_update() failed to check the number of bytes generated by an update() call, and simply assumed that it would generate as many output bytes as it received input bytes.
- Loading branch information
Showing
2 changed files
with
221 additions
and
6 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