Housekeeping #15
Annotations
10 warnings and 2 notices
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L107
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
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L126
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
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L173
Although the value stored to 'pwd' is used in the enclosing expression, the value is never actually read from 'pwd'
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L313
Value stored to 'whitelisted' is never read
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L349
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
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L369
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 h0tw1r3/cpp-linter-action@python-cache:
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
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield_lib.c#L183
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
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield_lib.c#L184
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
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield_lib.c#L300
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
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.h#L1
File pam_shield.h does not conform to Custom style guidelines. (lines 1, 25, 29, 30, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 47, 48, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 72, 73, 78)
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield_lib.h#L1
File pam_shield_lib.h does not conform to Custom style guidelines. (lines 1, 24, 48, 49, 50, 52, 54, 55, 56, 57, 58, 59, 60, 61, 62, 91, 92, 99, 108, 109, 112, 115, 122, 127, 128, 129, 130, 131, 132, 133, 134, 136, 137, 142, 144, 145, 150, 151, 156, 161, 162, 167, 174)
|
Loading