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

Prevent globbing and word splitting #84

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

vil02
Copy link
Contributor

@vil02 vil02 commented Jul 7, 2024

Not using double quotes here might cause globbing and word splitting (cf. SC2086).

Similar to SonarSource/sonarcloud-github-c-cpp#60.

Copy link
Contributor

@antoine-vinot-sonarsource antoine-vinot-sonarsource left a comment

Choose a reason for hiding this comment

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

Hi @vil02!
Thank you for your contribution!
Our QA is failing mainly due to quoting the debug flag and the input args.
I've added a comment on the line.

entrypoint.sh Outdated Show resolved Hide resolved
@antoine-vinot-sonarsource antoine-vinot-sonarsource merged commit f4a7a62 into SonarSource:master Jul 12, 2024
8 of 9 checks passed
@vil02 vil02 deleted the fix_SC2086 branch July 12, 2024 15:23
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