-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent NPE on backwards seek on Chunker
Ensure that a reset() is not immediately followed by a data member access with a call to maybeInitialize(). Practically, this can occur if an offset has progressed locally, but the remote indicates a non-0 committed size, and would always have thrown an NPE on a requisite seek, proven with the accompanied test case. Closes #10566. PiperOrigin-RevId: 289615198
- Loading branch information
1 parent
872c60f
commit 9a823d9
Showing
2 changed files
with
17 additions
and
7 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