Skip to content

Fixed codeql issue#17

Closed
Reboy20000 wants to merge 4 commits intomainfrom
Test
Closed

Fixed codeql issue#17
Reboy20000 wants to merge 4 commits intomainfrom
Test

Conversation

@Reboy20000
Copy link
Member

hey mod i fixed the codeql issue.

@Reboy20000
Copy link
Member Author

codeql build.c issue

@Reboy20000 Reboy20000 closed this Feb 6, 2026

if (!write_ast_to_spc(argv[2], root)) {
fprintf(stderr, "Could not write: %s\n", argv[2]);
if (!write_spc(out_path, root)) {

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression

This argument to a file access function is derived from [user input (a command-line argument)](1) and then passed to write_spc(out_path), which calls open(__path).

Copilot Autofix

AI 8 days ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

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.

1 participant