mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 01:50:14 +01:00
Currently, when the agent manager is sent a registration request containing UTF-8 characters, it will form an invalid error message using only one of the bytes from the UTF-8 sequence, which causes an assertion in glib to fail, which replaces the returned error message with "[Invalid UTF-8]". It will also print an assertion failure to the console, or crash NetworkManager on non-release builds. This commit makes it so that it instead prints out the character in hexadecimal form if it isn't normally printable, so that it is once again a valid UTF-8 string. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1965 Fixes: |
||
|---|---|---|
| .. | ||
| plugins | ||
| nm-agent-manager.c | ||
| nm-agent-manager.h | ||
| nm-secret-agent.c | ||
| nm-secret-agent.h | ||
| nm-settings-connection.c | ||
| nm-settings-connection.h | ||
| nm-settings-plugin.c | ||
| nm-settings-plugin.h | ||
| nm-settings-storage.c | ||
| nm-settings-storage.h | ||
| nm-settings-utils.c | ||
| nm-settings-utils.h | ||
| nm-settings.c | ||
| nm-settings.h | ||