[SSSD] [PATCH] Fix segfault in pam_sss.so

Stephen Gallagher sgallagh at redhat.com
Thu Dec 16 16:55:41 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Not all calls to do_pam_conversation() pass in a return value for the
_answer argument (notably, all PAM_TEXT_INFO calls). So if we receive a
PAM_TEXT_INFO message, we segfault.

This burned me when I was trying to log in offline with pam_verbosity=3

Pushed to master under the one-liner and unbreak-the-build rules.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0KRIcACgkQeiVVYja6o6MfrACgnHbHfMnm0UjY6KzD6UrGxbLX
EScAoJK+0vKbsVxZwxRbVw1ctwI/KbDh
=jyfZ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-segfault-for-PAM_TEXT_INFO-conversations.patch
Type: text/x-patch
Size: 787 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101216/5bc68da5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-segfault-for-PAM_TEXT_INFO-conversations.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101216/5bc68da5/attachment.sig>


More information about the sssd-devel mailing list