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

Fix: invalid array allocation in iss_3d.hpp #1022

Merged
merged 1 commit into from
Nov 27, 2014
Merged

Fix: invalid array allocation in iss_3d.hpp #1022

merged 1 commit into from
Nov 27, 2014

Conversation

jgarstka
Copy link
Contributor

If OPENMP is not used, the variable threads_ is zero by default. Thus
the array allocation

Eigen::Vector3d *omp_mem = new Eigen::Vector3d[threads_];

leads to a valid but zero sized array and finally to an invalid write
at line 381-383 (375-377).

If OPENMP is not used, the variable threads_ is zero by default. Thus
the array allocation

   Eigen::Vector3d *omp_mem = new Eigen::Vector3d[threads_];

leads to a valid but zero sized array and finally to an invalid write
at line 381-383 (375-377).
jspricke added a commit that referenced this pull request Nov 27, 2014
Fix: invalid array allocation in iss_3d.hpp
@jspricke jspricke merged commit d396539 into PointCloudLibrary:master Nov 27, 2014
@jgarstka jgarstka deleted the iss_3d_bugfix branch November 27, 2014 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants