[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1085340: fcitx: calls dbus_get_local_machine_id() which has bad error-handling



Control: tags 1085340 +wontfix

在 2024-10-18五的 14:40 +0100,Simon McVittie写道:
> Source: fcitx
> Version: 1:4.2.9.9-2
> Severity: normal
> Tags: upstream
> 
> Several files in fcitx contain calls to 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).

As the fcitx upstream development has ceased [1], no upstream patch can be
expected. Tagging it as wontfix.

[1] https://lists.debian.org/debian-input-method/2024/10/msg00042.html

Thanks,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: