PointCloudLibrary/pcl
Check if read succedded before reading again/allocating memory
オープン
#3,606 opened on 2020/01/29
good first issuehelp wantedkind: bugneeds: pr merge
Repository metrics
- Stars
- (9,023 個のスター)
- PR merge metrics
- (平均マージ 8d 7h) (30d で 3 merged PRs)
説明
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