FreeRDP/winpr/libwinpr
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
..
asn1 A malloc() pass on WinPR 2015-06-22 19:10:00 +02:00
bcrypt Simplified random byte stream generation code to use SSL RAND_bytes() and also eliminated two more compiler warnings. 2015-05-05 12:33:44 -04:00
clipboard android: fix misc compiler warnings 2015-06-22 19:09:59 +02:00
com winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
comm free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
credentials Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without 2014-07-11 11:53:58 +02:00
credui winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
crt Added StrSep function. 2015-06-09 15:32:50 +02:00
crypto A malloc() pass on WinPR 2015-06-22 19:10:00 +02:00
dsparse winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
environment free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
error Fix unchecked CreateThread calls and misc fixes 2015-05-05 13:55:48 +02:00
file Fix unchecked strdups 2015-06-22 19:09:59 +02:00
handle Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway 2015-03-19 09:38:16 -04:00
heap free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
input libwinpr-input: add missing VK_DECIMAL mapping of OS X keycode mapping of ABNT2 keyboard 2014-11-11 12:39:41 -05:00
interlocked Fix unchecked CreateMutex calls 2015-05-07 13:27:49 +02:00
io Fix unchecked strdups 2015-06-22 19:09:59 +02:00
library Fix unchecked strdups 2015-06-22 19:09:59 +02:00
locale winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
memory winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
nt A malloc() pass on WinPR 2015-06-22 19:10:00 +02:00
path Fix unchecked strdups 2015-06-22 19:09:59 +02:00
pipe A malloc() pass on WinPR 2015-06-22 19:10:00 +02:00
pool Add checks for some XXX_New and XXX_Add functions 2015-05-18 11:28:00 +02:00
registry Fix unchecked strdups 2015-06-22 19:09:59 +02:00
rpc Prettiefied WLog messages. 2015-01-20 11:05:32 +01:00
security winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
shell libwinpr-shell: use getpwnam_r 2015-05-22 10:03:21 -04:00
smartcard Fix unchecked strdups 2015-06-22 19:09:59 +02:00
sspi Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
sspicli Fix unchecked strdups 2015-06-22 19:09:59 +02:00
synch A malloc() pass on WinPR 2015-06-22 19:10:00 +02:00
sysinfo Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
thread winpr/thread: fix test compilation on windows 2015-06-22 19:09:59 +02:00
timezone winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
utils A malloc() pass on WinPR 2015-06-22 19:10:00 +02:00
winhttp winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
winsock winsock.c Solaris build fixes 2015-05-21 13:24:03 -07:00
wnd Fix unchecked strdups 2015-06-22 19:09:59 +02:00
wtsapi winpr/wtsapi: disable tests that block on windows 2015-06-22 19:09:59 +02:00
CMakeLists.txt Added the shell function GetUserProfileDirectory to WinPR. 2015-03-04 16:56:48 -05:00
dummy.c freerdp: various missing link dependencies and symbol exports 2013-09-03 21:48:26 -04:00
log.h Moved logging defines to main logger. 2014-09-09 16:32:04 +02:00