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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user