FreeRDP/server/Windows
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
..
cli Fixed setting of RV_VERSION_PATCH, now BUILD_NUMBER is used for every library. 2014-10-09 16:18:35 +02:00
CMakeLists.txt Merge pull request #1965 from akallabeth/dynamic-addin-naming 2014-10-31 13:42:16 +01:00
ModuleOptions.cmake freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
server.crt wfreerdp-server: initial commit 2012-06-07 19:51:00 -04:00
server.key wfreerdp-server: initial commit 2012-06-07 19:51:00 -04:00
wf_directsound.c Fix unchecked CreateThread calls and misc fixes 2015-05-05 13:55:48 +02:00
wf_directsound.h channels: rdpsnd refactoring, drdynvc initial server-side code 2013-08-18 21:52:55 -04:00
wf_dxgi.c Using wlog for server now. 2014-09-15 08:55:00 +02:00
wf_dxgi.h wfreerdp-server: handle dxgi access lost error 2012-10-17 16:17:19 -04:00
wf_info.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
wf_info.h Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
wf_input.c winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
wf_input.h wfreerdp-server: fixed compilation 2012-10-11 18:15:34 -04:00
wf_interface.c free can handle NULL perfectly fine 2015-05-11 09:07:39 +02:00
wf_interface.h Using wlog for server now. 2014-09-15 08:55:00 +02:00
wf_mirage.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
wf_mirage.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
wf_peer.c Fix unchecked strdups 2015-06-22 19:09:59 +02:00
wf_peer.h Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
wf_rdpsnd.c Fix unchecked CreateMutex calls 2015-05-07 13:27:49 +02:00
wf_rdpsnd.h Merge remote-tracking branch 'upstream/master' 2013-02-19 16:36:08 -05:00
wf_settings.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
wf_settings.h freerdp: fix headers 2012-10-08 23:02:04 -04:00
wf_update.c codec/rfx: error checking and various fixes 2015-04-23 15:42:21 +02:00
wf_update.h freerdp: fix headers 2012-10-08 23:02:04 -04:00
wf_wasapi.c Fixes for malloc / calloc + other fixes 2015-06-22 19:21:47 +02:00
wf_wasapi.h channels: rdpsnd refactoring, drdynvc initial server-side code 2013-08-18 21:52:55 -04:00