[Freeipa-devel] [PATCH] check pending_return after dbus_connection_send_with_reply

Stephen Gallagher sgallagh at redhat.com
Tue Jun 23 18:27:39 UTC 2009


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

On 06/23/2009 09:05 AM, Sumit Bose wrote:
> Hi,
> 
> according to
> http://dbus.freedesktop.org/doc/dbus/api/html/group__DBusConnection.html#ga951b2a6f6c4069fa392752000b24ebe
> dbus_connection_send_with_reply can return TRUE, but set pending_return
> to NULL. This patch adds a check to protect the following call which try
> to use pending_return.
> 
> I have found this while running some load tests with >40 parallel
> authentication requests.
> 
> bye,
> Sumit
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

Ack. Good catch.

- -- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkpBHpcACgkQeiVVYja6o6NhPgCfbmxwUC4ZPrC3pZkPylwO+ffG
zIIAn2f5dQrPQ4QZTUvDHhg9toqVb+8v
=lsn1
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list