7c3f8f33ab
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 |
||
---|---|---|
.. | ||
cli | ||
CMakeLists.txt | ||
ModuleOptions.cmake | ||
server.crt | ||
server.key | ||
wf_directsound.c | ||
wf_directsound.h | ||
wf_dxgi.c | ||
wf_dxgi.h | ||
wf_info.c | ||
wf_info.h | ||
wf_input.c | ||
wf_input.h | ||
wf_interface.c | ||
wf_interface.h | ||
wf_mirage.c | ||
wf_mirage.h | ||
wf_peer.c | ||
wf_peer.h | ||
wf_rdpsnd.c | ||
wf_rdpsnd.h | ||
wf_settings.c | ||
wf_settings.h | ||
wf_update.c | ||
wf_update.h | ||
wf_wasapi.c | ||
wf_wasapi.h |