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
Armin Novak
a295a42664
Prettiefied WLog messages.
2015-01-20 11:10:03 +01:00
Armin Novak
528c5841d5
Fixed memory leak.
2014-12-07 00:50:20 +01:00
Armin Novak
83477e5344
Fixed memory leak.
2014-11-17 01:10:45 +01:00
Marc-André Moreau
45b9a5454e
libfreerdp-codec: improve compressor interfaces
2014-09-20 15:25:33 -04:00
Marc-André Moreau
2a5192b027
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
client/Windows/wf_cliprdr.h
client/Windows/wf_event.h
client/X11/xf_client.c
client/X11/xf_gdi.c
libfreerdp/gdi/gdi.c
server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Marc-André Moreau
73471eb1f0
libfreerdp-gdi: fix 8bpp mode
2014-09-17 18:30:09 -04:00
Marc-André Moreau
48b35be953
xfreerdp: fix X11 16bpp mode
2014-09-17 14:29:56 -04:00
Marc-André Moreau
fb4e5d352b
libfreerdp-codec: add proper 16bpp output format support
2014-09-17 12:17:41 -04:00
Marc-André Moreau
1b7a84419c
xfreerdp: partial fix for X11 16bpp mode
2014-09-16 19:12:26 -04:00
Armin Novak
2f519d7f16
Replaced logging in libfreerdp with wlog defines.
2014-09-15 08:48:46 +02:00
Marc-André Moreau
198f94fe03
libfreerdp-gdi: add RDP8 graphics pipeline support
2014-09-12 14:57:44 -04:00
Marc-André Moreau
c71e4e18a1
libfreerdp-core: refactor codec context management
2014-09-10 00:42:41 -04:00
Marc-André Moreau
ad9092baf9
libfreerdp-codec: cleanup and restructure planar decompressor for chroma subsampling
2014-09-07 15:40:36 -04:00
Marc-André Moreau
5b8fb70e8c
libfreerdp-codec: simplify and optimize planar raw rgb decoding
2014-09-07 14:08:29 -04:00
Marc-André Moreau
bd516e04fa
libfreerdp-primitives: cleanup YCoCg
2014-09-06 21:13:37 -04:00
Armin Novak
f4c133eaf8
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:24 +02:00
Daryl Poe
fa06452a4b
add YCoCg->RGB and 16-to-32bit SSE
2014-07-02 14:30:04 -06:00
Marc-André Moreau
160a3c4b61
libfreerdp-codec: avoid intermediate copy with planar egfx
2014-06-19 13:55:34 -04:00
Marc-André Moreau
57b0e4d010
libfreerdp-codec: handle flipping in planar decompression
2014-06-19 13:08:07 -04:00
Marc-André Moreau
f6d029d5ac
libfreerdp-codec: improve planar handling of scanlines
2014-06-19 12:11:06 -04:00
Marc-André Moreau
ea3822c357
libfreerdp-codec: cleanup planar decoder
2014-06-18 17:46:22 -04:00
Marc-André Moreau
425763d30a
libfreerdp-codec: start offering more flexible planar codec decompression
2014-06-17 16:44:24 -04:00
Hardening
c1a6eda740
Improve performance for delta_encoder
...
This patch inline the case of the first line to drop the if() that was done
at each loop.
Some variable have been renamed for code clarity.
2014-01-14 09:44:38 +01: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
7c6be746a6
libfreerdp-codec: minor planar codec fix (undocumented behaviour for RLE)
2014-01-12 16:28:06 -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
26f543cdf4
libfreerdp-codec: planar cleanup
2013-12-09 12:02:05 -05:00
Marc-André Moreau
718a0d0bbc
libfreerdp-codec: avoid pixel overflow with planar codec RLE test cases
2013-12-08 23:17:24 -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
82b12621af
libfreerdp-codec: refactor planar decompression
2013-11-29 03:06:39 -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
fcafbfe626
libfreerdp-codec: improve planar RLE compression
2013-11-27 18:21:05 -05:00
Marc-André Moreau
a5c1d0bbaa
libfreerdp-codec: detect planar overflow per set of planes, not individual planes
2013-11-27 16:23:20 -05:00
Marc-André Moreau
7d3ce08e96
libfreerdp-codec: simply planar RLE code
2013-11-27 14:46:38 -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
c64e10444b
libfreerdp-codec: get all steps of planar scanline delta encoding tested
2013-11-26 16:30:43 -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
c8c75fd4e0
libfreerdp-codec: implement working uncompressed RDP6 bitmap planar codec
2013-11-25 23:29:20 -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