[SSSD] [PATCH] PAM: Test return value of strdup
Stephen Gallagher
sgallagh at redhat.com
Fri Mar 7 20:31:21 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/07/2014 07:40 AM, Lukas Slebodnik wrote:
> ehlo,
>
> Warnings reported by Coverity (12463,12464)
>
> Dereferencing a pointer that might be null pi->pam_authtok when
> calling strlen. Dereferencing a pointer that might be null action
> when calling strncmp.
>
> Patch is attached.
>
Ack
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlMaLJkACgkQeiVVYja6o6PnbgCgrEcB9cUYL7BYmqxMV+HoLWwf
l6gAmgIMinT8v2eYn4QZNcOIGayXRVxp
=yvR+
-----END PGP SIGNATURE-----
More information about the sssd-devel
mailing list