Fixed size of command line value string.
This commit is contained in:
parent
fad20be6e6
commit
456b95cbfc
@ -592,7 +592,7 @@ static char** freerdp_command_line_parse_comma_separated_values_ex(const char* n
|
||||
{
|
||||
char* dst = (char*)&p[1];
|
||||
p[0] = dst;
|
||||
sprintf_s(dst, len, "%s", name);
|
||||
sprintf_s(dst, len + 1, "%s", name);
|
||||
*count = 1;
|
||||
return p;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user