Skip to content

ruleset: hide resolution errors #118

ruleset: hide resolution errors

ruleset: hide resolution errors #118

Triggered via push September 16, 2023 13:36
Status Success
Total duration 1m 1s
Artifacts

lint.yml

on: push
cpp-linter
51s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 1 notice
/src/socks.c:81:1 [readability-function-cognitive-complexity]: src/socks.c#L81
function 'socks_ctx_stop' has cognitive complexity of 42 (threshold 25)
/src/socks.c:118:13 [readability-function-cognitive-complexity]: src/socks.c#L118
function 'socks_ctx_free' has cognitive complexity of 79 (threshold 25)
/src/socks.c:145:13 [readability-function-cognitive-complexity]: src/socks.c#L145
function 'xfer_state_cb' has cognitive complexity of 28 (threshold 25)
/src/socks.c:173:1 [readability-function-cognitive-complexity]: src/socks.c#L173
function 'send_rsp' has cognitive complexity of 54 (threshold 25)
/src/socks.c:184:4 [readability-else-after-return]: src/socks.c#L184
do not use 'else' after 'return'
/src/socks.c:199:13 [readability-function-cognitive-complexity]: src/socks.c#L199
function 'socks5_sendrsp' has cognitive complexity of 55 (threshold 25)
/src/socks.c:229:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L229
Call to function 'memcpy' 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 'memcpy_s' in case of C11
/src/socks.c:232:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L232
Call to function 'memcpy' 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 'memcpy_s' in case of C11
/src/socks.c:239:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L239
Call to function 'memcpy' 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 'memcpy_s' in case of C11
/src/socks.c:243:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L243
Call to function 'memcpy' 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 'memcpy_s' in case of C11
Run clang-format on src/forward.c: src/forward.c#L1
File src/forward.c does not conform to Custom style guidelines. (lines 309)