Fixed oob read in update_recv
properly use update_type_to_string to print update type. Thanks to hac425 CVE-2020-11019
This commit is contained in:
parent
66d3b77d88
commit
0332cad015
@ -774,7 +774,7 @@ BOOL update_recv(rdpUpdate* update, wStream* s)
|
||||
}
|
||||
|
||||
Stream_Read_UINT16(s, updateType); /* updateType (2 bytes) */
|
||||
WLog_Print(update->log, WLOG_TRACE, "%s Update Data PDU", UPDATE_TYPE_STRINGS[updateType]);
|
||||
WLog_Print(update->log, WLOG_TRACE, "%s Update Data PDU", update_type_to_string(updateType));
|
||||
|
||||
if (!update_begin_paint(update))
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user