-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix segmentation fault in vlog.Read (header.Decode) (#1150)
This commit fixes the segmentation fault in header.Decode that would happen if we tried to read from a file that was mmapped but didn't actually have any data in it. This commit fixes the issue by checking the read is within the actual file size. See #1150 for all the details. Fixes #1136 and #1131
- Loading branch information
Ibrahim Jarif
authored
Dec 10, 2019
1 parent
f46f8ea
commit 7c5e6d7
Showing
1 changed file
with
13 additions
and
3 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