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 CodeQL violations of type 'cpp/path-injection in lib/pal #1332

Merged
merged 7 commits into from
Mar 7, 2025

Conversation

abuhsayem
Copy link
Contributor

CodeQL has flagged one or more instances of violations of type "cpp/path-injection" in the file "third_party/cpp_client_telemetry/lib/pal/PAL.cpp".

Violation File Path: third_party/cpp_client_telemetry/lib/pal/PAL.cpp
Line Numbers: 123
Alert Message: Uncontrolled data used in path expression.
QueryID: cpp/path-injection

Example fix

@abuhsayem abuhsayem requested a review from a team as a code owner March 4, 2025 17:56
@abuhsayem abuhsayem force-pushed the user/asayem/pal_codeql branch from 97a53c5 to ce831c2 Compare March 4, 2025 21:57
Copy link
Contributor

@ThomsonTan ThomsonTan left a comment

Choose a reason for hiding this comment

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

:shipit:

@abuhsayem abuhsayem closed this Mar 7, 2025
@abuhsayem abuhsayem reopened this Mar 7, 2025
@ThomsonTan ThomsonTan merged commit 11ffbe2 into main Mar 7, 2025
54 checks passed
@ThomsonTan ThomsonTan deleted the user/asayem/pal_codeql branch March 7, 2025 21:29
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