FreeRDP/channels
Norbert Federa 70c8acdd67 drdynvc: fix segfaults and a compiler warning
If we send a negative creation status while processing the DVC create
response pdu in drdynvc_process_create_request() we must also close
the created channel. Otherwise we will get duplicated channel IDs
in the channel manager's array list because the server will
eventually reuse the channel ids which we have reported as failed in
previous creation responses.
In order to protect the client from duplicated IDs sent by buggy or
malicious servers I've added an appropriate check in
dvcman_channel_new() which will now return NULL in this case.
Also added a missing NULL check for the result of dvcman_channel_new()
in dvcman_create_channel().
2015-01-26 19:26:38 +01:00
..
audin Prettiefied WLog messages. 2015-01-20 11:39:33 +01:00
client build: cmake 3.1 compatibility 2014-12-12 19:26:22 +01:00
cliprdr Fixed variable initialisation and cleanup. 2015-01-20 12:31:43 +01:00
disp Prettiefied WLog messages. 2015-01-20 11:46:25 +01:00
drdynvc drdynvc: fix segfaults and a compiler warning 2015-01-26 19:26:38 +01:00
drive freerdp: patch valgrind leaks, cleanup 2014-12-03 14:17:27 -05:00
echo Merge pull request #1965 from akallabeth/dynamic-addin-naming 2014-10-31 13:42:16 +01:00
encomsp Fixed variable initialisation and cleanup. 2015-01-20 12:31:37 +01:00
parallel Removed library prefix override. 2014-09-17 11:27:11 +02:00
printer Removed library prefix override. 2014-09-17 11:27:11 +02:00
rail Fixed variable initialisation and cleanup. 2015-01-20 12:31:30 +01:00
rdpdr Fixed variable initialisation and cleanup. 2015-01-20 12:31:26 +01:00
rdpei channels: fix drdynvc, patch memory leaks 2014-12-27 15:20:29 -05:00
rdpgfx Prettiefied WLog messages. 2015-01-20 11:20:09 +01:00
rdpsnd Fixed variable initialisation and cleanup. 2015-01-20 12:31:21 +01:00
remdesk Fixed variable initialisation and cleanup. 2015-01-20 12:31:16 +01:00
serial winpr-comm: ignore errors on TIOCGICOUNT during the port initialization but the permissive mode must be on afterwards. 2014-11-13 19:54:32 +01:00
server Add server-side RDPEI 2014-11-20 22:19:29 +01:00
smartcard Merge branch 'master' of github.com:FreeRDP/FreeRDP 2015-01-20 09:29:21 -05:00
tsmf Fixed null pointer dereference. 2014-11-17 01:23:54 +01:00
urbdrc channels/urbdrc: fix segfault 2014-12-09 19:28:13 +03:00
CMakeLists.txt build: cmake 3.1 compatibility 2014-12-12 19:26:22 +01:00