diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-24 10:51:55 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-28 08:04:56 -0400 |
commit | 335c46b59888d431e5a57cddcf7ceecd09ec8e4a (patch) | |
tree | 7c56d35f755f72892728bfec20f13e0bd0601082 /src/machine/machined.c | |
parent | fe05567c31cb88593a09ce5d8961d8b20627feb1 (diff) |
Disallow invalid UTF-8 configuration
It is best to catch such errors early. If invalid UTF-8 ends up being
given to dbus methods, the program will crash:
process 20801: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file dbus-message.c line 2598.
Diffstat (limited to 'src/machine/machined.c')
0 files changed, 0 insertions, 0 deletions