PointCloudLibrary/pcl

Check if read succedded before reading again/allocating memory

Open

#3.606 aberto em 29 de jan. de 2020

Ver no GitHub
 (16 comments) (0 reactions) (0 assignees)C++ (4.506 forks)batch import
good first issuehelp wantedkind: bugneeds: pr merge

Métricas do repositório

Stars
 (9.023 stars)
Métricas de merge de PR
 (Mesclagem média 8d 7h) (3 fundiu PRs em 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

Guia do colaborador