Merge pull request #2251 from nfedera/fix-2014-12-04-01

cliprdr: fix segfault caused by invalid seek value
This commit is contained in:
Bernhard Miklautz 2014-12-04 16:38:00 +01:00
commit 161683383e
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ void cliprdr_process_format_list(cliprdrPlugin* cliprdr, wStream* s, UINT32 data
if (formatNameLength)
{
formatNameLength = ConvertFromUnicode(CP_UTF8, 0, wszFormatName,
ConvertFromUnicode(CP_UTF8, 0, wszFormatName,
-1, &(formats[index].formatName), 0, NULL, NULL);
}