Skip to content

Fix SANITIZE arg shell quoting #999

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

Merged
merged 1 commit into from
May 18, 2022

Conversation

vector-of-bool
Copy link
Contributor

The current build is not building with sanitizers enabled. The escaped quotes around MONGO_SANITIZE are passed through literally, and CMake just discards the argument and doesn't mention it. The quotes are not required as the argument should be shell-safe.

Copy link
Contributor

@rcsanchez97 rcsanchez97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vector-of-bool vector-of-bool merged commit e8ddd35 into mongodb:master May 18, 2022
@vector-of-bool vector-of-bool deleted the sanitize-quoting branch June 16, 2022 22:55
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