Re: Announcing D-Bus 1.8.14

Simon McVittie <simon.mcvittie-ZGY8ohtN/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Collabora Ltd.
Message-ID <[email protected]>
On 05/01/15 15:04, Simon McVittie wrote:
> • Do not allow calls to UpdateActivationEnvironment or the Stats
>   interface on object paths other than /org/freedesktop/DBus.

Unfortunately, it seems that this causes KDE Plasma 5 to regress: unlike
the equivalent code in gnome-session, recent versions of startkde expect
to be able to call UpdateActivationEnvironment on the non-canonical path
"/". My check in codesearch.debian.net did not find this, since it is a
relatively recent addition.

I'm somewhat reluctant to revert this change, because I am aware of at
least one software package which incorrectly allows arbitrary calls at
"/" on any service (currently embargoed, so no specifics yet, sorry);
but if anyone needs a quick hack, removing these lines from
bus_driver_handle_update_activation_environment() should do it.

   if (!bus_driver_check_message_is_for_us (message, error))
    return FALSE;

The uid check in the same function should still prevent abuse, but I'd
feel safer with both left in.

Reference: <https://bugs.mageia.org/show_bug.cgi?id=14963>

    S

_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.