Skip to content

contrib: tune formats #90

contrib: tune formats

contrib: tune formats #90

Triggered via push August 5, 2023 04:52
Status Success
Total duration 1m 0s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

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

Annotations

10 warnings
/src/socks.c:85:1 [readability-function-cognitive-complexity]: src/socks.c#L85
function 'socks_ctx_stop' has cognitive complexity of 61 (threshold 25)
/src/socks.c:137:1 [readability-function-cognitive-complexity]: src/socks.c#L137
function 'socks_ctx_close' has cognitive complexity of 32 (threshold 25)
/src/socks.c:146:13 [readability-function-cognitive-complexity]: src/socks.c#L146
function 'xfer_state_cb' has cognitive complexity of 51 (threshold 25)
/src/socks.c:174:1 [readability-function-cognitive-complexity]: src/socks.c#L174
function 'send_rsp' has cognitive complexity of 100 (threshold 25)
/src/socks.c:183:4 [readability-else-after-return]: src/socks.c#L183
do not use 'else' after 'return'
/src/socks.c:198:13 [readability-function-cognitive-complexity]: src/socks.c#L198
function 'socks5_sendrsp' has cognitive complexity of 82 (threshold 25)
/src/socks.c:228:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L228
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:231:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L231
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:238:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L238
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:242:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L242
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