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 stack-use-after-scope in any.h detected by asan #441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eklitzke
Copy link

When calling get_param in util.h this bug causes a reference to be returned to an address on the stack.

@isaactian
Copy link

isaactian commented Jul 8, 2021

This bug pops up for me only when using optimization flags and it completely wrecks the flann neighbor search. Appears to corrupt the data structure in the flann matrix somehow but again only when -O(1, 2, 3) is enabled during compilation.

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.

None yet

2 participants