Hi all.
File client/common/cmdline.c function
freerdp_client_settings_command_line_status_print_ex()
In the passage below, there is a case when the strchr() function is
passed an argument val set to NULL.
...
else if (option_starts_with("kbd-lang", arg->Value))
{
const char* val = NULL;
if (option_starts_with("kbd-lang:", arg->Value))
val = &arg->Value[9];
else if (!option_equals("kbd-lang", arg->Value))
return COMMAND_LINE_ERROR_UNEXPECTED_VALUE;
else if (strchr(val, ','))
return COMMAND_LINE_ERROR_UNEXPECTED_VALUE;
freerdp_client_print_codepages(val);
}
...
--
http://os2.snc.ru/
☮
<https://image1.slideserve.com/2085748/war-is-over-if-you-want-it-john-lennon-and-yoko-ono-1971-l.jpg>
All we are saying is give peace a chance. /John Lennon/
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel