Merge pull request #1747 from nfedera/fix-2014-03-19-01

capabilities: fix MultifragMaxRequestSize parsing
This commit is contained in:
Bernhard Miklautz 2014-03-19 11:07:55 +01:00
commit 03db4c912e

View File

@ -2274,7 +2274,8 @@ BOOL rdp_read_multifragment_update_capability_set(wStream* s, UINT16 length, rdp
return FALSE;
Stream_Read_UINT32(s, multifragMaxRequestSize); /* MaxRequestSize (4 bytes) */
if (settings->RemoteFxCodec && settings->MultifragMaxRequestSize < multifragMaxRequestSize)
if (multifragMaxRequestSize < settings->MultifragMaxRequestSize)
settings->MultifragMaxRequestSize = multifragMaxRequestSize;
return TRUE;