84577b1ca7
- removed some unneeded null checks for free() - fixed a memory leak in shadow_client - removed rfx_compose_message_header from API Changed the following functions to BOOL, check the result where they are called and handle failures: - rfx_compose_message - rfx_compose_message_header - rfx_write_tile - rfx_write_message_tileset - rfx_write_message_frame_begin - rfx_write_message_region - rfx_write_message_frame_end - rfx_write_message rfx_process_message: - check memory allocation failures - verify protocol-conform order of data messages to prevents memory leaks caused by repeated allocations - verify that header messages were parsed/received before the data messages - treat unknown rlgr mode as error - fixed/added error handling - fixed all callers to check/handle result rfx_encode_message: - fixed incorrect usage of realloc - missing malloc check - missing check of CreateThreadpoolWork - correct cleanup on failure (threadpool, memory) - check rfx_encode_message result rfx_encode_messages: - check rfx_split_message result - correct cleanup on failure - prevent memory leak on failure rfx_write_message_context: - fixed invalid channelId value (must be 0xFF for WBT_CONTEXT) rfx_process_message_codec_versions: - fixed invalid read size of codec_version (it is 16bit) rfx_process_message_channels: - verify protocol conform channelId value rfx_process_message_region: - replaced invalid reallocs with malloc - read and verify regionType and numTileSets from stream rfx_process_message_tileset: - check allocation results - fixed incorrect usages of realloc setupWorkers: - fixed incorrect usages of realloc rfx_split_message: - removed dead code - missing malloc check rfx_compose_message: - fixed a memory leak - check/handle rfx_encode_message result |
||
---|---|---|
.. | ||
cli | ||
.gitignore | ||
CMakeLists.txt | ||
generate_argument_docbook.c | ||
ModuleOptions.cmake | ||
xf_channels.c | ||
xf_channels.h | ||
xf_client.c | ||
xf_client.h | ||
xf_cliprdr.c | ||
xf_cliprdr.h | ||
xf_event.c | ||
xf_event.h | ||
xf_gdi.c | ||
xf_gdi.h | ||
xf_gfx.c | ||
xf_gfx.h | ||
xf_graphics.c | ||
xf_graphics.h | ||
xf_input.c | ||
xf_input.h | ||
xf_keyboard.c | ||
xf_keyboard.h | ||
xf_monitor.c | ||
xf_monitor.h | ||
xf_rail.c | ||
xf_rail.h | ||
xf_tsmf.c | ||
xf_tsmf.h | ||
xf_window.c | ||
xf_window.h | ||
xfreerdp-channels.1.xml | ||
xfreerdp-examples.1.xml | ||
xfreerdp.1.xml.in | ||
xfreerdp.h |