mirror of https://github.com/FreeRDP/FreeRDP
Merge pull request #2251 from nfedera/fix-2014-12-04-01
cliprdr: fix segfault caused by invalid seek value
This commit is contained in:
commit
161683383e
|
@ -156,7 +156,7 @@ void cliprdr_process_format_list(cliprdrPlugin* cliprdr, wStream* s, UINT32 data
|
||||||
|
|
||||||
if (formatNameLength)
|
if (formatNameLength)
|
||||||
{
|
{
|
||||||
formatNameLength = ConvertFromUnicode(CP_UTF8, 0, wszFormatName,
|
ConvertFromUnicode(CP_UTF8, 0, wszFormatName,
|
||||||
-1, &(formats[index].formatName), 0, NULL, NULL);
|
-1, &(formats[index].formatName), 0, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue