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

Resolve MSAN use-of-uninitialized-value #150

Closed
wants to merge 1 commit into from
Closed

Resolve MSAN use-of-uninitialized-value #150

wants to merge 1 commit into from

Conversation

acgetchell
Copy link
Contributor

Fix #149

@jaredgrubb
Copy link
Member

For any object type, C++ will invoke the constructor by default (it only doesn't do that if it's a plain-old-data and lacks a user-provided constructor). All STL types are safe to use in this way. If there's a MSAN bug, this isn't the right fix. We can follow up in the issue.

@jaredgrubb jaredgrubb closed this Mar 25, 2022
@acgetchell acgetchell deleted the patch-1 branch December 2, 2022 19:03
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.

MSAN Warning on use-of-initialized-value in docopt::docopt_parse
2 participants