Rename client_info hostname to client_name

This name better matches the name from [MS-RDPBCGR]. Also, the size
of the UTF-8 buffer allocated for the client name is not large
enough for some of the names which could potentially be passed across
in UTF-16 from the client.
This commit is contained in:
matt335672
2025-07-17 12:06:32 +01:00
parent db50a27089
commit ac95cdffc3
5 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -611,7 +611,7 @@ lxrdp_set_param(struct mod *mod, const char *name, const char *value)
settings = mod->inst->settings;
if (g_strcmp(name, "hostname") == 0)
if (g_strcmp(name, "client_name") == 0)
{
}
else if (g_strcmp(name, "ip") == 0)