[Pam-developers] Check for crypt() returning NULL

Dmitry V. Levin ldv at altlinux.org
Fri Feb 8 00:52:09 UTC 2013


On Thu, Feb 07, 2013 at 05:11:51PM +0100, Tomas Mraz wrote:
> The attached trivial patch adds missing check for crypt() returning NULL
> in pam_pwhistory and pam_unix.
> 
> OK to commit?

Yes, the patch is OK.  There is one more use of crypt() in
modules/pam_unix/bigcrypt.c, you may want to check its return code as well.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/pam-developers/attachments/20130208/b44ae902/attachment-0001.sig>


More information about the Pam-developers mailing list