Fixed Bounds check in rdp_read_font_capability_set
@@ -1397,10 +1397,10 @@ static BOOL rdp_print_input_capability_set(wStream* s, UINT16 length)
static BOOL rdp_read_font_capability_set(wStream* s, UINT16 length, rdpSettings* settings)
{
WINPR_UNUSED(settings);
- if (length > 4)
+ if (length > 5)
Stream_Seek_UINT16(s); /* fontSupportFlags (2 bytes) */
- if (length > 6)
+ if (length > 7)
Stream_Seek_UINT16(s); /* pad2Octets (2 bytes) */
return TRUE;
