-
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utf8FrameValidator must release buffer when validation fails (#9909)
Motivation: Utf8FrameValidator must release the input buffer if the validation fails to ensure no memory leak happens Modifications: - Catch exception, release frame and rethrow - Adjust unit test Result: Fixes #9906
- Loading branch information
1 parent
bc026ef
commit 06a5173
Showing
2 changed files
with
38 additions
and
31 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