FreeRDP/libfreerdp/crypto
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
..
test Renamed file to known_hosts2. 2015-06-12 09:30:01 +02:00
base64.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
ber.c Replaced logging in libfreerdp with wlog defines. 2014-09-15 08:48:46 +02:00
certificate.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
CMakeLists.txt libfreerdp: always build "MONOLITHIC" 2014-09-12 00:19:53 +02:00
crypto.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
der.c freerdp: purge deprecated stream utils 2013-05-08 16:09:16 -04:00
er.c Fixed issues found with clang-analyzer 2013-09-05 12:14:33 +02:00
per.c Modified per_read_integer to handle a length of 0 (which is seen when older RDP clients connect to the FreeRDP server) 2014-09-16 23:15:34 -04:00
tls.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00