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 key validation #70

Merged
merged 2 commits into from
Apr 26, 2024

Fix key validation

e1b675b
Select commit
Loading
Failed to load commit list.
Merged

Fix key validation #70

Fix key validation
e1b675b
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Apr 26, 2024 in 5s

1 configuration not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 1 configuration present on refs/heads/main was not found:

Default setup

  • ❓  /language:python

New alerts in code changed by this pull request

Security Alerts:

  • 1 high

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 105 in src/main.cpp

See this annotation in the file changed.

Code scanning / CodeQL

Uncontrolled data used in path expression High

This argument to a file access function is derived from
user input (a command-line argument)
and then passed to parseFile(file), which ends up calling std::basic_filebuf<char, char_traits>::open(__s).
This argument to a file access function is derived from
user input (a command-line argument)
and then passed to parseFile(file), which calls parsing::JsonHandler::JsonHandler(filename), which calls parsing::JsonHandler::parseFile(filename), which calls std::basic_ifstream<char, char_traits>::basic_ifstream(__s).
This argument to a file access function is derived from
user input (a command-line argument)
and then passed to parseFile(file), which calls parsing::JsonHandler::JsonHandler(filename), which calls parsing::JsonHandler::parseFile(filename), which calls std::basic_ifstream<char, char_traits>::basic_ifstream(__s), which calls std::basic_ifstream<char, char_traits>::open(__s).