[PATCH BlueZ 0/3] Fix crash in dbus caused by Unicode characters

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

 



A crash was found during fuzzing testing:

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.

Fix it with additional checks.

Roman Smirnov (3):
  shared/util: implement argsisutf8()
  client: replace validate_input() with argsisutf8()
  shared/shell: add check to shell_exec()

 client/main.c      | 17 ++---------------
 src/shared/shell.c |  3 +++
 src/shared/util.c  | 12 ++++++++++++
 src/shared/util.h  |  1 +
 4 files changed, 18 insertions(+), 15 deletions(-)

-- 
2.34.1





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux