Skip to content

Merge pull request #105 from AleksArt000/env_rec_fix #179

Merge pull request #105 from AleksArt000/env_rec_fix

Merge pull request #105 from AleksArt000/env_rec_fix #179

Triggered via push August 9, 2024 17:01
Status Success
Total duration 44s
Artifacts

c-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
src/clean.c:24:12 [cppcoreguidelines-init-variables]: src/clean.c#L24
variable 'cleanup_loc' is not initialized
src/config.c:19:13 [cppcoreguidelines-avoid-non-const-global-variables]: src/config.c#L19
variable 'configEntries' is non-const and globally accessible, consider making it const
src/environment.c:20:5 [readability-isolate-declaration]: src/environment.c#L20
multiple declarations in a single statement reduces readability
src/environment.c:20:12 [cppcoreguidelines-init-variables]: src/environment.c#L20
variable 'start_i' is not initialized
src/environment.c:74:61 [clang-analyzer-core.NonNullParamChecker]: src/environment.c#L74
Null pointer passed to 1st parameter expecting 'nonnull'
src/environment.c:76:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/environment.c#L76
Call to function 'sprintf' is insecure as it does not provide bounding of the memory buffer or security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11
src/init.c:38:12 [cppcoreguidelines-init-variables]: src/init.c#L38
variable 'formats' is not initialized
src/init.c:43:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/init.c#L43
Call to function 'sprintf' is insecure as it does not provide bounding of the memory buffer or security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11