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

Improved the CLI a bit. #18

Merged
merged 11 commits into from
Nov 24, 2024

feat: finished compile command and version command

9ee62bf
Select commit
Loading
Failed to load commit list.
Merged

Improved the CLI a bit. #18

feat: finished compile command and version command
9ee62bf
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Nov 24, 2024 in 0s

9 new issues (0 max.) of at least minor severity.

Annotations

Check notice on line 64 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L64

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check failure on line 64 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L64

The `strlen` family of functions does not handle strings that are not null terminated.

Check warning on line 75 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L75

Usage of the `open` family of functions may hint at a potential Time Of Check Time Of Use (TOCTOU) vulnerability.

Check warning on line 78 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L78

Avoid using user-controlled format strings passed into 'sprintf', 'printf' and 'vsprintf'. These functions put you at risk of buffer overflow vulnerabilities through the use of format string exploits.

Check warning on line 121 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L121

Usage of the `open` family of functions may hint at a potential Time Of Check Time Of Use (TOCTOU) vulnerability.

Check notice on line 128 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L128

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check failure on line 128 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L128

The `strlen` family of functions does not handle strings that are not null terminated.

Check notice on line 136 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L136

Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).  

Check failure on line 136 in src/cli/main.c

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cli/main.c#L136

The `strlen` family of functions does not handle strings that are not null terminated.