PointCloudLibrary/pcl
Check if read succedded before reading again/allocating memory
Offen
#3.606 geöffnet am 29.01.2020
good first issuehelp wantedkind: bugneeds: pr merge
Repository-Metriken
- Stars
- (9.023 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 8T 7h) (3 gemergte PRs in 30 T)
Beschreibung
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