Commit: 1edffc22a343511ad1357d002f1968e4746c68a6
Parent: eb1dd2bc1c4b32b791203340b303306bd7f5fe0b
Author: Roman Smirnov <r.smirnov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-03-18 19:31:43
Tree: 603dd68eb5809a2e10c7fe6770b236b715d0e01c

shared/shell: add check to shell_exec() When passing a Unicode character to bluetoothctl, the application crashes in dbus: dbus[5324]: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file .../dbus-message.c line 2765. Check that all characters are written in utf8. Fixes: https://github.com/bluez/bluez/issues/1137

Diffstat

M src/shared/shell.c | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

View Full Diff | Patch