PointCloudLibrary/pcl

Check if read succedded before reading again/allocating memory

Open

#3606 aperta il 29 gen 2020

Vedi su GitHub
 (16 commenti) (0 reazioni) (0 assegnatari)C++ (4506 fork)batch import
good first issuehelp wantedkind: bugneeds: pr merge

Metriche repository

Star
 (9023 star)
Metriche merge PR
 (Merge medio 8g 7h) (3 PR mergiate in 30 g)

Descrizione

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

Guida contributor