-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[DF] Possible use after delete of the functor passed to PassAsVec #8276
Comments
eguiraud
added a commit
to eguiraud/root
that referenced
this issue
May 28, 2021
eguiraud
added a commit
to eguiraud/root
that referenced
this issue
May 28, 2021
Make sure to always store the callables by value. This fixes root-project#8276.
eguiraud
added a commit
that referenced
this issue
May 29, 2021
Make sure to always store the callables by value. This fixes #8276.
eguiraud
added a commit
to eguiraud/root
that referenced
this issue
May 29, 2021
Make sure to always store the callables by value. This fixes root-project#8276.
eguiraud
added a commit
that referenced
this issue
May 30, 2021
Make sure to always store the callables by value. This fixes #8276.
pzhristov
pushed a commit
to alisw/root
that referenced
this issue
Aug 27, 2021
pzhristov
pushed a commit
to alisw/root
that referenced
this issue
Aug 27, 2021
Make sure to always store the callables by value. This fixes root-project#8276.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To Reproduce
The following code:
prints
instead of
The problem is that the
PassAsVecHelper
type stores a reference to the the lambda function.Valgrind does not see the problem (lambdas are stack-allocated),
-fsanitize=address
does.The text was updated successfully, but these errors were encountered: