-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Duplicate buffer for thread-safe aliasing. (#19405)
Fixes #10697: UnsafeDirectNioDecoder modifies shared buffer instance when performing aliased read. I've included a test-ish reproducer in form of a unit test that fails fairly reliably, let me know whether you'd want this merged. Closes #19405 COPYBARA_INTEGRATE_REVIEW=#19405 from mernst-github:mernst/aliasing 1d97209 PiperOrigin-RevId: 703588369
- Loading branch information
1 parent
5030b0b
commit fb180a6
Showing
2 changed files
with
38 additions
and
1 deletion.
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