Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve loading of massive PLY files #2715

Merged
merged 2 commits into from
Dec 15, 2018

Conversation

pierotofy
Copy link
Contributor

@pierotofy pierotofy commented Dec 14, 2018

This is a fix related to #2145. While large PLY files load without crashing, if cloud_->point_step * cloud_->width * cloud_->height evaluates to something larger than 4,294,967,295 it will overflow. This is easy to get if you have ~130,000,000 points and 11 fields which can result in a point step of 35, evaluating to 4,550,000,000 (oops).

Please let me know if you need an input to reproduce the problem / test the fix.

@taketwo taketwo merged commit 26504dd into PointCloudLibrary:master Dec 15, 2018
@taketwo
Copy link
Member

taketwo commented Dec 15, 2018

Thanks!

@taketwo taketwo changed the title Fix loading problem of massive PLY files Improve loading of massive PLY files Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants