Skip to content

Merge pull request #40 from AleksArt000/main #58

Merge pull request #40 from AleksArt000/main

Merge pull request #40 from AleksArt000/main #58

Triggered via push December 9, 2023 19:15
Status Success
Total duration 35s
Artifacts

c-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
/src/install.c:1:9 [bugprone-reserved-identifier]: src/install.c#L1
declaration uses identifier '_GNU_SOURCE', which is a reserved identifier
/src/install.c:87:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/install.c#L87
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/install.c:131:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/install.c#L131
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/install.c:194:16 [clang-analyzer-unix.MallocSizeof]: src/install.c#L194
Result of 'calloc' is converted to a pointer of type 'char', which is incompatible with sizeof operand type 'const char *'
/src/install.c:198:9 [clang-analyzer-unix.Malloc]: src/install.c#L198
Potential leak of memory pointed to by 'pkg.name'
/src/install.c:208:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/install.c#L208
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/install.c:234:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/install.c#L234
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/install.c:267:12 [cppcoreguidelines-init-variables]: src/install.c#L267
variable 'FORMATS' is not initialized
/src/install.c:273:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/install.c#L273
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