-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix segfault when reading from las into multiple buffers
In the presence of multiple buffers (such as the temporary buffers used by the Mosaic stage) caching the dimensions when reading las doesn't work: dimensions may be in different locations in different buffers. The previously used buffers may even be deallocated, in which case the cached dimensions will be stale pointers, leading to segfaults. The fix here simply removes dimension caching entirely. With any reasonable chunk size this shouldn't lead to performance degradation.
- Loading branch information
Showing
2 changed files
with
6 additions
and
27 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