David FORT
7c3f8f33ab
Fixes for malloc / calloc + other fixes
...
This patch contains:
* checks for malloc return value + treat callers;
* modified malloc() + ZeroMemory() to calloc();
* misc fixes of micro errors seen during the code audit:
** some invalid checks in gcc.c, also there were some possible
integer overflow. This is interesting because at the end the data are parsed
and freed directly, so it's a vulnerability in some kind of dead code (at least
useless);
** fixed usage of GetComputerNameExA with just one call, when 2 were used
in misc places. According to MSDN GetComputerNameA() is supposed to return
an error when called with NULL;
** there were a bug in the command line parsing of shadow;
** in freerdp_dynamic_channel_collection_add() the size of array was multiplied
by 4 instead of 2 on resize
2015-06-22 19:21:47 +02:00
Marc-André Moreau
1b7a84419c
xfreerdp: partial fix for X11 16bpp mode
2014-09-16 19:12:26 -04:00
Martin Fleisz
54b96290c9
Merge branch 'fix_2036' of git://github.com/akallabeth/FreeRDP into akallabeth-fix_2036
...
Conflicts:
libfreerdp/codec/test/TestFreeRDPCodecPlanar.c
libfreerdp/codec/test/TestFreeRDPCodecProgressive.c
libfreerdp/core/transport.c
libfreerdp/primitives/test/TestPrimitivesYCbCr.c
2014-09-11 13:03:01 +02:00
Marc-André Moreau
c71e4e18a1
libfreerdp-core: refactor codec context management
2014-09-10 00:42:41 -04:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
f8eae11bf3
Fixed calling of dump functions, updated API
2014-09-09 16:31:46 +02:00
Marc-André Moreau
ac7d23b9a3
libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free
2014-07-08 15:07:19 -04:00
Marc-André Moreau
a202fe4057
freerdp: fix several type related warnings
2014-05-08 18:02:02 -04:00
Marc-André Moreau
c697941de2
libfreerdp-codec: add new freerdp_image_copy function with detailed parameters
2014-02-28 21:51:29 -05:00
Marc-André Moreau
6dfaa8eefa
libfreerdp-codec: got planar encoder to work 100% correctly
2014-01-13 22:16:10 -05:00
Marc-André Moreau
4c6218e594
libfreerdp-codec: make planar encoder pass compression/decompression tests
2013-12-20 02:41:25 -05:00
Marc-André Moreau
74a3232707
libfreerdp-codec: add new planar codec test data
2013-12-19 19:56:58 -05:00
Marc-André Moreau
1add4e628f
libfreerdp-codec: make planar codec encoder context reusable
2013-12-08 17:06:59 -05:00
Marc-André Moreau
2114fbb8f9
libfreerdp-codec: add new planar codec test case
2013-12-03 20:14:07 -05:00
Marc-André Moreau
9096bd3b61
libfreerdp-codec: make planar codec bitmap 01 pass the test
2013-12-03 18:50:22 -05:00
Marc-André Moreau
9d1c4c10a6
libfreerdp-codec: make planar decoder more robust
2013-11-29 04:12:59 -05:00
Marc-André Moreau
d9e1c0abaa
libfreerdp-codec: add more planar unit tests
2013-11-29 02:16:16 -05:00
Marc-André Moreau
338d809e3a
libfreerdp-codec: extend planar codec unit tests
2013-11-28 19:51:29 -05:00
Marc-André Moreau
cca020a711
libfreerdp-codec: reorganize planar RLE encoding logic
2013-11-28 15:49:22 -05:00
Marc-André Moreau
5bcdab95ff
libfreerdp-codec: partial planar RLE compression support
2013-11-26 22:16:31 -05:00
Marc-André Moreau
919b6c666a
libfreerdp-codec: compress and output RDP6 RLE planes
2013-11-26 18:04:29 -05:00
Marc-André Moreau
52a1b328f2
libfreerdp-codec: start implementing delta-encoding of planar scanlines
2013-11-26 16:07:55 -05:00
Marc-André Moreau
021ef0533e
libfreerdp-codec: implement planar codec RLE scanline encoding
2013-11-26 15:16:40 -05:00
Marc-André Moreau
d30656d441
libfreerdp-codec: start implementing uncompressed RDP6 planar codec
2013-11-25 22:26:08 -05:00
Marc-André Moreau
7446c6f02b
libfreerdp-codec: start unit tests for RDP6 planar compressor
2013-11-25 18:58:01 -05:00