Tests: Add missing returncode to test_0004_bz1638295 #5254
Annotations
2 errors
Run covscan:
sssd-pr7630/src/sss_client/pam_sss.c#L3090
:Error: RESOURCE_LEAK (CWE-772):
sssd-pr7630-build/sssd-pr7630/src/sss_client/pam_sss.c:3075:17: alloc_arg: "get_authtok_for_password_change" allocates memory that is stored into "pi.first_factor".
sssd-pr7630-build/sssd-pr7630/src/sss_client/pam_sss.c:3090:25: leaked_storage: Variable "pi" going out of scope leaks the storage "pi.first_factor" points to.
# 3088| * we are done. */
# 3089|
# 3090|-> return PAM_SUCCESS;
# 3091| }
# 3092| task = SSS_PAM_CHAUTHTOK_PRELIM;
|
Run covscan
Process completed with exit code 1.
|
Loading