FreeRDP/include/freerdp/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
..
ber.h build: fix compiler warnings 2015-03-03 19:36:54 +01:00
certificate.h Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
crypto.h Using '<host> <port> <fp>' format for known hosts. 2015-06-09 15:33:13 +02:00
der.h Fixed missing extern C 2014-12-01 13:12:51 +01:00
er.h build: fix compiler warnings 2015-03-03 19:36:54 +01:00
per.h Fixed missing extern C 2014-12-01 13:12:51 +01:00
tls.h Added port to certificate warnings. 2015-06-10 10:59:40 +02:00