Skip to content

Merge pull request #36 from AleksArt000/main #48

Merge pull request #36 from AleksArt000/main

Merge pull request #36 from AleksArt000/main #48

Triggered via push December 4, 2023 13:58
Status Success
Total duration 44s
Artifacts

c-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
/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/move.c:30:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/move.c#L30
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/move.c:32:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/move.c#L32
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/move.c:41:21 [clang-diagnostic-implicit-function-declaration]: src/move.c#L41
implicit declaration of function 'better_mvsp' is invalid in C99
/src/move.c:66:5 [readability-redundant-control-flow]: src/move.c#L66
redundant return statement at the end of a function with a void return type
/src/move.c:72:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/move.c#L72
Call to function 'strncpy' 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 'strncpy_s' in case of C11
/src/move.c:74:13 [clang-diagnostic-implicit-function-declaration]: src/move.c#L74
implicit declaration of function 'isdir' is invalid in C99
/src/move.c:77:17 [clang-diagnostic-implicit-function-declaration]: src/move.c#L77
implicit declaration of function 'mkdir_parent' is invalid in C99
/src/move.c:77:54 [readability-braces-around-statements]: src/move.c#L77
statement should be inside braces