Skip to content

separated install and prepare, install is now root #189

separated install and prepare, install is now root

separated install and prepare, install is now root #189

Triggered via pull request August 25, 2024 00:06
Status Success
Total duration 34s
Artifacts

c-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
test/test.c:176:9 [clang-diagnostic-return-type]: test/test.c#L176
void function 'test_make' should not return a value
src/get.c:37:10 [cppcoreguidelines-init-variables]: src/get.c#L37
variable 'd' is not initialized
src/get.c:38:20 [cppcoreguidelines-init-variables]: src/get.c#L38
variable 'dir' is not initialized
src/get.c:42:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/get.c#L42
Call to function 'sprintf' is insecure as it does not provide 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/get.c:53:64 [readability-braces-around-statements]: src/get.c#L53
statement should be inside braces
src/get.c:56:13 [clang-analyzer-security.insecureAPI.strcpy]: src/get.c#L56
Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
src/get.c:78:5 [clang-analyzer-core.NonNullParamChecker]: src/get.c#L78
Null pointer passed to 1st parameter expecting 'nonnull'
src/get.c:100:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/get.c#L100
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
src/get.c:125:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/get.c#L125
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
src/get.c:128:13 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/get.c#L128
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
src/install.c:1:9 [bugprone-reserved-identifier]: src/install.c#L1
declaration uses identifier '_GNU_SOURCE', which is a reserved identifier