-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PCD load crashes on empty files (#5855)
* return -1 from PCDReader::readHeader() when input file is completely empty * Return empty string from getFieldsList() if input cloud has no fields * Update io/src/pcd_io.cpp Co-authored-by: Markus Vieth <39675748+mvieth@users.noreply.github.com> * Update common/include/pcl/common/io.h --------- Co-authored-by: Markus Vieth <39675748+mvieth@users.noreply.github.com>
- Loading branch information
1 parent
21dcddd
commit 81b92a5
Showing
2 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters