70c8acdd67
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(). |
||
---|---|---|
channels | ||
ci/cmake-preloads | ||
client | ||
cmake | ||
docs | ||
external | ||
include | ||
libfreerdp | ||
packaging | ||
rdtk | ||
resources | ||
scripts | ||
server | ||
third-party | ||
winpr | ||
.gitignore | ||
ChangeLog | ||
CMakeCPack.cmake | ||
CMakeCPackOptions.cmake.in | ||
CMakeLists.txt | ||
config.h.in | ||
freerdp.pc.in | ||
freerdp.spec | ||
FreeRDPConfig.cmake.in | ||
LICENSE | ||
README | ||
winpr.pc.in |
FreeRDP: A Remote Desktop Protocol Implementation ================================================= FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Enjoy the freedom of using your software wherever you want, the way you want it, in a world where interoperability can finally liberate your computing experience. Resources --------- Project website: http://www.freerdp.com/ Issue tracker: https://github.com/FreeRDP/FreeRDP/issues Sources: https://github.com/FreeRDP/FreeRDP/ Wiki: https://github.com/FreeRDP/FreeRDP/wiki Downloads and other resources: http://pub.freerdp.com API doc: http://pub.freerdp.com/api/ IRC channel: #freerdp @ irc.freenode.net Mailing list: https://lists.sourceforge.net/lists/listinfo/freerdp-devel Microsoft Open Specifications ----------------------------- Information regarding the Microsoft Open Specifications can be found at: http://www.microsoft.com/openspecifications/ A list of reference documentation is maintained here: https://github.com/FreeRDP/FreeRDP/wiki/Reference-Documentation Compilation ----------- Instructions on how to get started compiling FreeRDP can be found on the wiki: https://github.com/FreeRDP/FreeRDP/wiki/Compilation