kdm, kcheckpass: Check for NULL return from crypt(3) and friends.
author Michael Pyne
()
committer Michael Pyne
()
commit 45b7f137fbc0b942fd2c9b4e8d8c1f0293e64ba7
tree 25a793d98f0c6a3d123e9f93eee33dae785e7e44
parent 481cb8255b6218b0f0a9d83829c89dc2017390a8
kdm, kcheckpass: Check for NULL return from crypt(3) and friends.

Potential issue noted and fixed by Mancha <mancha1@hush.com>.

Patch reviewed by myself and ossi. Backported to 4.10 by myself.

REVIEW:111261
FIXED-IN:4.10.5
kcheckpass/checkpass_etcpasswd.c
kcheckpass/checkpass_osfc2passwd.c
kcheckpass/checkpass_shadow.c
kdm/backend/client.c