no changes, add clang-format #18
Annotations
10 warnings
pam_shield.c:101:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
pam_shield.c#L101
Call to function 'memset' 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 'memset_s' in case of C11
|
pam_shield.c:120:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
pam_shield.c#L120
Call to function 'memset' 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 'memset_s' in case of C11
|
pam_shield.c:165:54 [clang-analyzer-deadcode.DeadStores]:
pam_shield.c#L165
Although the value stored to 'pwd' is used in the enclosing expression, the value is never actually read from 'pwd'
|
pam_shield.c:283:7 [clang-analyzer-deadcode.DeadStores]:
pam_shield.c#L283
Value stored to 'whitelisted' is never read
|
pam_shield.c:317:11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
pam_shield.c#L317
Call to function 'memmove' 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 'memmove_s' in case of C11
|
pam_shield.c:334:11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
pam_shield.c#L334
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
|
pam_shield_lib.c:72:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
pam_shield_lib.c#L72
Call to function 'memset' 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 'memset_s' in case of C11
|
pam_shield_lib.c:174:3 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
pam_shield_lib.c#L174
Call to function 'memset' 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 'memset_s' in case of C11
|
pam_shield_lib.c:175:3 [clang-analyzer-security.insecureAPI.strcpy]:
pam_shield_lib.c#L175
Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
|
pam_shield_lib.c:285:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
pam_shield_lib.c#L285
Call to function 'memmove' 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 'memmove_s' in case of C11
|