PointCloudLibrary/pcl
View on GitHubCheck if read succedded before reading again/allocating memory
Open
#3,606 opened on Jan 29, 2020
good first issuehelp wantedkind: bugneeds: pr merge
Repository metrics
- Stars
- (9,023 stars)
- PR merge metrics
- (Avg merge 8d 7h) (3 merged PRs in 30d)
Description
Your Environment
- PCL Version: HEAD
Context
Bad parsing is inevitable, specially if operations are performed on read data without validation
Expected Behavior
Graceful error detection
Current Behavior
Files: 273 instances. One sample provided:
Possible Solution
Sanity checks on input stream after reading before allocating memory