Skip to content

added support for dir symlinks #186

added support for dir symlinks

added support for dir symlinks #186

Triggered via pull request August 24, 2024 22:43
Status Success
Total duration 36s
Artifacts

c-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
src/list.c:14:20 [bugprone-macro-parentheses]: src/list.c#L14
macro replacement list should be enclosed in parentheses
src/list.c:15:20 [bugprone-macro-parentheses]: src/list.c#L15
macro replacement list should be enclosed in parentheses
src/list.c:18:8 [readability-function-cognitive-complexity]: src/list.c#L18
function 'get_all_files' has cognitive complexity of 35 (threshold 25)
src/list.c:19:10 [cppcoreguidelines-init-variables]: src/list.c#L19
variable 'dir' is not initialized
src/list.c:20:20 [cppcoreguidelines-init-variables]: src/list.c#L20
variable 'entry' is not initialized
src/list.c:39:81 [readability-braces-around-statements]: src/list.c#L39
statement should be inside braces
src/list.c:44:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/list.c#L44
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/list.c:55:29 [cppcoreguidelines-init-variables]: src/list.c#L55
variable 'sub_files_count' is not initialized
src/list.c:59:43 [clang-analyzer-optin.portability.UnixAPI]: src/list.c#L59
Call to 'realloc' has an allocation size of 0 bytes
src/list.c:85:27 [readability-braces-around-statements]: src/list.c#L85
statement should be inside braces