Merge pull request #8 from h0tw1r3/cleanup #17
Annotations
10 warnings and 2 notices
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L102
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#L121
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#L168
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#L303
Value stored to 'whitelisted' is never read
|
Run h0tw1r3/cpp-linter-action@python-cache:
pam_shield.c#L339
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#L359
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#L181
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#L182
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#L294
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)
|
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)
|
Loading