dbus/dbus dbus-address.c, 1.17, 1.18 dbus-sysdeps.c, 1.105, 1.106 dbus-sysdeps.h, 1.52, 1.53

Havoc Pennington hp at redhat.com
Thu Aug 10 13:34:51 PDT 2006



John Palmieri wrote:
> -  _dbus_assert (strcmp (dbus_address_entry_get_value (entries[0], "path"), "/tmp/foo") == 0);
> +  _dbus_assert (strcmp (dbus_address_entry_get_value (entries[0], "path"), strcat(_dbus_get_tmpdir(),"/foo") == 0));

This strcat() doesn't look good...

Havoc



More information about the dbus-commit mailing list