Skip to content

resolver: full ares support #98

resolver: full ares support

resolver: full ares support #98

Triggered via push August 16, 2023 13:53
Status Success
Total duration 1m 20s
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:86:1 [readability-function-cognitive-complexity]: src/socks.c#L86
function 'socks_ctx_stop' has cognitive complexity of 61 (threshold 25)
/src/socks.c:138:1 [readability-function-cognitive-complexity]: src/socks.c#L138
function 'socks_ctx_close' has cognitive complexity of 32 (threshold 25)
/src/socks.c:147:13 [readability-function-cognitive-complexity]: src/socks.c#L147
function 'xfer_state_cb' has cognitive complexity of 51 (threshold 25)
/src/socks.c:175:1 [readability-function-cognitive-complexity]: src/socks.c#L175
function 'send_rsp' has cognitive complexity of 100 (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 82 (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