[SSSD] [PATCH] Fix segfault on unknown user/domain
Stephen Gallagher
sgallagh at redhat.com
Mon Nov 9 18:52:48 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/09/2009 12:16 PM, Simo Sorce wrote:
> On Mon, 2009-11-09 at 12:14 -0500, Stephen Gallagher wrote:
>> The root cause was that preq->domain was set to NULL, because it
>> couldn't locate a corresponding domain for this user.
>>
>> I have reordered this conditional such that we first test that we are
>> in
>> the PAM_SUCCESS case of an SSS_PAM_AUTHENTICATE call. In this
>> situation,
>> preq->domain is guaranteed to be valid.
>>
>> I could have added an explicit check, but it seemed wasteful.
>
> Ack.
>
> Simo.
>
Pushed to master.
- --
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.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkr4ZQAACgkQeiVVYja6o6M3RwCeNEMldJkL8LZHKZWgpJCtrfst
plEAn1aVuU4lWODI7B2vDYBkgEm2Vueu
=PMcp
-----END PGP SIGNATURE-----
More information about the sssd-devel
mailing list