Parent: 32e2e5a42b2b51b7a196de0b5bd199eeb5ce4725
Author: Roman Smirnov <r.smirnov@omp.ru>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-03-03 19:42:24
Tree: 93b3b81e204fc2355d0f6bafa5df107141b0a54c
client: add input validation to main() An error was found during fuzzing testing. When passing Unicode characters 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/1118
Diffstat
| M | client/main.c | | | 16 | ++++++++++++++++ |
1 files changed, 16 insertions(+), 0 deletions(-)