FreeRDP/client/X11
Norbert Federa 84577b1ca7 codec/rfx: error checking and various fixes
- 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
2015-04-23 15:42:21 +02:00
..
cli Necessary changes to get latest branch working on OpenBSD 5.6 2015-04-21 14:42:06 -04:00
.gitignore xfreerdp: fix monolithic build 2013-08-15 13:25:29 -04:00
CMakeLists.txt Removed library prefix override. 2014-09-17 11:27:11 +02:00
generate_argument_docbook.c Using wlog for logging in clients now. 2014-09-15 08:55:00 +02:00
ModuleOptions.cmake freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
xf_channels.c xfreerdp: cleanup and fix RemoteApp 2014-11-11 16:35:30 -05:00
xf_channels.h xfreerdp: cleanup and fix RemoteApp 2014-11-11 16:35:30 -05:00
xf_client.c Merge pull request #2544 from bmiklautz/boolenization 2015-04-22 11:01:27 +02:00
xf_client.h xfreerdp: remove dependency on libfreerdp-rail 2014-11-12 19:49:35 -05:00
xf_cliprdr.c xf_cliprdr: fix incorrect usage of realloc. 2015-03-11 12:31:50 +08:00
xf_cliprdr.h xfreerdp: migrate to cliprdr callback interface 2014-10-15 21:30:11 -04:00
xf_event.c xfreerdp: FS fixes & smart-sizing resuscitation 2015-04-16 17:31:22 +02:00
xf_event.h xfreerdp: added smart sizing, mt gesture fixes 2014-12-01 11:56:44 +01:00
xf_gdi.c codec/rfx: error checking and various fixes 2015-04-23 15:42:21 +02:00
xf_gdi.h change return types of callbacks to BOOL 2015-04-21 14:18:07 +02:00
xf_gfx.c codec/rfx: error checking and various fixes 2015-04-23 15:42:21 +02:00
xf_gfx.h xfreerdp: fix egfx multimonitor support 2015-02-10 16:32:07 -05:00
xf_graphics.c Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
xf_graphics.h xfreerdp: rename xf_interface.h to xf_client.h 2013-06-15 13:41:05 -04:00
xf_input.c xfreerdp: added smart sizing, mt gesture fixes 2014-12-01 11:56:44 +01:00
xf_input.h xfreerdp: start refactoring cliprdr 2014-10-14 22:24:07 -04:00
xf_keyboard.c Fix GDI return values and other fixes 2015-04-21 14:18:07 +02:00
xf_keyboard.h change return types of callbacks to BOOL 2015-04-21 14:18:07 +02:00
xf_monitor.c xfreerdp: FS fixes & smart-sizing resuscitation 2015-04-16 17:31:22 +02:00
xf_monitor.h xfreerdp: removed desktopWidth/desktopHeight vars 2015-04-16 17:31:22 +02:00
xf_rail.c Fix formating 2015-04-21 14:20:24 +02:00
xf_rail.h xfreerdp: separate app windows from desktop windows 2014-11-11 22:27:33 -05:00
xf_tsmf.c xfreerdp: remove RAIL dependency on deprecated event system 2014-11-11 18:32:18 -05:00
xf_tsmf.h channels/tsmf: remove dependency on deprecated eventing system 2014-11-10 16:33:34 -05:00
xf_window.c xfreerdp: FS fixes & smart-sizing resuscitation 2015-04-16 17:31:22 +02:00
xf_window.h xfreerdp: removed some weird/unnecessary code 2015-04-16 17:31:22 +02:00
xfreerdp-channels.1.xml Removed placeholder for channel documentation until it is available. 2013-08-06 12:25:38 +02:00
xfreerdp-examples.1.xml Added better formatting of commands in manpage. 2013-08-06 12:23:31 +02:00
xfreerdp.1.xml.in Minor adjustments in naming. 2013-08-06 11:54:37 +02:00
xfreerdp.h xfreerdp: FS fixes & smart-sizing resuscitation 2015-04-16 17:31:22 +02:00