-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce the ending check size to be ending_size - 1
If the ending is split between two chunks, then at most, the second chunk will contain ending_size - 1 bytes of the ending. So we should just check for this. We also don't need to add extra bytes to check for in the ending, because we don't care what comes after the ending. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
13 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