Skip to content

ruleset: revert src param #101

ruleset: revert src param

ruleset: revert src param #101

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

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
/src/socks.c:88:1 [readability-function-cognitive-complexity]: src/socks.c#L88
function 'socks_ctx_stop' has cognitive complexity of 61 (threshold 25)
/src/socks.c:142:1 [readability-function-cognitive-complexity]: src/socks.c#L142
function 'socks_ctx_close' has cognitive complexity of 32 (threshold 25)
/src/socks.c:151:13 [readability-function-cognitive-complexity]: src/socks.c#L151
function 'xfer_state_cb' has cognitive complexity of 51 (threshold 25)
/src/socks.c:179:1 [readability-function-cognitive-complexity]: src/socks.c#L179
function 'send_rsp' has cognitive complexity of 100 (threshold 25)
/src/socks.c:188:4 [readability-else-after-return]: src/socks.c#L188
do not use 'else' after 'return'
/src/socks.c:203:13 [readability-function-cognitive-complexity]: src/socks.c#L203
function 'socks5_sendrsp' has cognitive complexity of 82 (threshold 25)
/src/socks.c:233:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L233
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:236:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L236
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
/src/socks.c:247:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/socks.c#L247
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