dbus_connection_open_private ()

Timo Hoenig thoenig at suse.de
Tue Apr 3 04:09:33 PDT 2007


Hi,

On Mon, 2007-04-02 at 17:19 -0400, Havoc Pennington wrote:

> Dafydd Harries wrote:
> > It seems that if you call dbus_connection_open_private with an empty address,
> > it returns NULL without setting an error. Is this expected behaviour?

The same applies for dbus_connection_open. 

> Nope, the error should be set, this is a bug.

Patch attached to this mail.  Please review and apply.

Thanks,

   Timo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-refuse-zero-length-address-thoenig-01.patch
Type: text/x-patch
Size: 1577 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070403/34c2de86/dbus-refuse-zero-length-address-thoenig-01.bin


More information about the dbus mailing list