PointCloudLibrary/pcl

Check if read succedded before reading again/allocating memory

Open

#3,606 opened on 2020年1月29日

GitHub で見る
 (16 comments) (0 reactions) (0 assignees)C++ (4,506 forks)batch import
good first issuehelp wantedkind: bugneeds: pr merge

Repository metrics

Stars
 (9,023 stars)
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

コントリビューターガイド