Go to file
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
channels Necessary changes to get latest branch working on OpenBSD 5.6 2015-04-21 14:44:02 -04:00
ci/cmake-preloads ci: update os x preload 2015-01-27 01:07:07 +01:00
client codec/rfx: error checking and various fixes 2015-04-23 15:42:21 +02:00
cmake Merge pull request #2544 from bmiklautz/boolenization 2015-04-22 11:01:27 +02:00
docs channels: patch rdpdr/smartcard valgrind leaks, fix hang on disconnect 2014-12-28 14:56:13 -05:00
external cmake: added external directory 2012-11-01 13:50:49 -04:00
include codec/rfx: error checking and various fixes 2015-04-23 15:42:21 +02:00
libfreerdp codec/rfx: error checking and various fixes 2015-04-23 15:42:21 +02:00
packaging pkg/rpm: fix changelog order 2015-02-03 16:09:01 +01:00
rdtk rdtk: remove redundant casts 2015-03-25 17:38:20 +01:00
resources Recompressed images with FileOptimizer 6.8 (an open-source mass file recompression tool for Windows) 2014-08-08 20:12:25 -04:00
scripts Added version check for astyle, versions below 2.03 indent extern "C" scope 2014-09-11 12:38:32 +02:00
server codec/rfx: error checking and various fixes 2015-04-23 15:42:21 +02:00
third-party build: cmake 3.1 compatibility 2014-12-12 19:26:22 +01:00
winpr Removed compiler warning about obsolete header file in OpenBSD 2015-04-22 09:50:50 -04:00
.gitignore gitignore: ignore clion files 2015-02-16 12:14:20 +01:00
ChangeLog changelog: update for 1.0.1 2012-02-09 21:01:42 -05:00
CMakeCPack.cmake cmake: fix package generation on Mac OS X 2013-09-09 21:42:25 -04:00
CMakeCPackOptions.cmake.in cmake: fix package generation on Mac OS X 2013-09-09 21:42:25 -04:00
CMakeLists.txt Moved declaration of OPENBSD to higher in the file to clean some things up. Also, removed -Wredundant-decls from OpenBSD because the OpenBSD standard include files have some redundant declarations that generate a large number of compiler warnings. 2015-04-22 09:19:04 -04:00
config.h.in Fixed pthread_mutex_timedjoin detection. 2015-04-22 09:32:59 +02:00
freerdp.pc.in update and improve pkg-config files 2014-04-23 13:12:23 +02:00
FreeRDPConfig.cmake.in cmake: export to different directory, export more build info 2013-10-29 15:16:44 -04:00
LICENSE FreeRDP 1.0: initial commit 2011-06-30 15:12:51 -04:00
README Updated links in README 2013-05-27 18:29:24 +02:00
winpr.pc.in update and improve pkg-config files 2014-04-23 13:12:23 +02:00

FreeRDP: A Remote Desktop Protocol Implementation
=================================================

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license.
Enjoy the freedom of using your software wherever you want, the way you want it, in a world where
interoperability can finally liberate your computing experience.

Resources
---------

Project website: http://www.freerdp.com/
Issue tracker: https://github.com/FreeRDP/FreeRDP/issues
Sources: https://github.com/FreeRDP/FreeRDP/
Wiki: https://github.com/FreeRDP/FreeRDP/wiki
Downloads and other resources: http://pub.freerdp.com
API doc: http://pub.freerdp.com/api/

IRC channel: #freerdp @ irc.freenode.net
Mailing list: https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Microsoft Open Specifications
-----------------------------

Information regarding the Microsoft Open Specifications can be found at:
http://www.microsoft.com/openspecifications/

A list of reference documentation is maintained here:
https://github.com/FreeRDP/FreeRDP/wiki/Reference-Documentation

Compilation
-----------

Instructions on how to get started compiling FreeRDP can be found on the wiki:
https://github.com/FreeRDP/FreeRDP/wiki/Compilation