FreeRDP/channels
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
..
audin android: fix misc compiler warnings 2015-06-22 19:09:59 +02:00
client build: cmake 3.1 compatibility 2014-12-12 19:26:22 +01:00
cliprdr Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
disp free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
drdynvc Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
drive Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
echo free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
encomsp Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
parallel Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
printer Removed library prefix override. 2014-09-17 11:27:11 +02:00
rail Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
rdpdr Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
rdpei free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
rdpgfx Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
rdpsnd android: fix misc compiler warnings 2015-06-22 19:09:59 +02:00
remdesk Merge pull request #2636 from xhaakon/master 2015-06-22 09:15:37 -04:00
serial free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
server Add server-side RDPEI 2014-11-20 22:19:29 +01:00
smartcard Fixed MessageQueue and callers 2015-05-29 14:24:14 +02:00
tsmf tsmf: fix invalid check and a potential segfault 2015-05-28 10:49:38 +02:00
urbdrc free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
CMakeLists.txt build: cmake 3.1 compatibility 2014-12-12 19:26:22 +01:00