3c2c6cc1d5
freerdp_peer->Disconnect calls BIO_free which then calls close on the underlying file descriptor. Then when freerdp_peer_free is called, the file descriptor is closed again. This is problematic if the file descriptor is recycled in between: thread 1: freerdp_peer_new(42); thread 1: freerdp_peer->Disconnect() closes 42 thread 2: opens a file with fd 42 thread 1: freerdp_peer_free closes 42 thread 2: uses closed file descriptor 42 |
||
---|---|---|
.. | ||
cache | ||
codec | ||
common | ||
core | ||
crypto | ||
emu | ||
gdi | ||
locale | ||
primitives | ||
utils | ||
CMakeLists.txt | ||
freerdp.pc.in | ||
FreeRDPConfig.cmake.in |