FreeRDP/include/freerdp/utils
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
..
msusb.h libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
passphrase.h include: add various missing extern C decls. 2013-01-29 14:45:49 +08:00
pcap.h Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
profiler.h Fixed compilation with -Wstrict-prototypes 2013-02-14 22:20:43 +01:00
ringbuffer.h freerdp: fix incorrect copyright headers 2014-05-22 15:56:47 -04:00
signal.h include: add various missing extern C decls. 2013-01-29 14:45:49 +08:00
stopwatch.h utils: fix broken stopwatch implementation 2013-06-27 13:00:54 +02:00