mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
server/test: add a pointer check.
This commit is contained in:
@@ -183,7 +183,7 @@ static void test_peer_draw_icon(freerdp_peer* client, int x, int y)
|
||||
RFX_RECT rect;
|
||||
STREAM* s;
|
||||
|
||||
if (!client->settings->rfx_codec)
|
||||
if (!client->settings->rfx_codec || !info)
|
||||
return;
|
||||
if (info->icon_width < 1)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user