[SSSD] [PATCH] Make PAM responses more compatible with D-BUS spec

Stephen Gallagher sgallagh at redhat.com
Fri Feb 12 20:47:28 UTC 2010


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

Previously, the PAM responses could contain an arbitrary number of
arguments. This is not acceptable by the D-BUS protocol, as there
is no way to introspect it. This patch converts the response
objects to be an array of D-BUS structs.

It also fixes two potential memory leaks by not unref'ing the
reply object if we get an error.

- -- 
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.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkt1vmAACgkQeiVVYja6o6PAXACfRVdVlc0/L8/on2sjAh7fKSXM
PowAoJgRVQUcxMvGnj/FkrJZRegZYNbh
=oX+3
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-PAM-responses-more-compatible-with-D-BUS-spec.patch
Type: text/x-patch
Size: 8614 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100212/285fc7bd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-PAM-responses-more-compatible-with-D-BUS-spec.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100212/285fc7bd/attachment.sig>


More information about the sssd-devel mailing list