Source: qtbase-opensource-src
Version: 5.15.13+dfsg-4
Severity: normal
Tags: upstream

src/dbus/qdbusconnection.cpp calls dbus_get_local_machine_id(), which has
no good mechanism for reporting an error, and therefore will spam warnings
to standard error (and possibly crash) if the D-Bus machine ID has not
been set up correctly.  This function should be considered deprecated.

Please prefer to use dbus_try_get_local_machine_id(), which takes a
DBusError parameter (same calling convention as e.g. dbus_validate_path())
and therefore can be used to report errors in whatever way is considered
to be most appropriate by the caller. This has been available in upstream
stable releases since dbus 1.12.0 (2017).

Thanks,
    smcv

Reply via email to