-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readers.copc was reading past its buffer (#3918)
When doing fetchHeader due to using an old byte offset size, 549, instead of the proper buffer size 589 (375 for header, 54 for VLR header, and 160 for COPC VLR contents). This was causing us to read off the end. We should fix this * Provide an option to readers.copc to hint it how much header bytes it should grab * Search through all of the VLRs and find our COPC one in case a bad reader doesn't put it exactly starting at byte 374
- Loading branch information
Showing
2 changed files
with
11 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