FreeRDP/libfreerdp
Martin Fleisz b5fa928311 core: Fix race when deleting channel manager
This PR fixes a possible crash when the channel manager was freed and
there were pending messages in the message queue.
The problem was that even though the message queue already received the
WMQ_QUIT message, it was still possible to enqueue messages after this
point. This resulted in unprocessed messages in the queue when it was
deleted. The delete handler then called into channel handlers which
where aleady freed/deleted.
With this PR adding messages after WMQ_QUIT was posted to the message
queue returns an error and all channel messages are now processed before
the channels are closed/terminated.
2020-11-03 17:08:58 +01:00
..
cache Fixed Out-of-bound read in glyph_cache_put 2020-06-22 11:51:38 +02:00
codec Merge pull request #6466 from akallabeth/memsan 2020-10-28 09:46:12 +01:00
common Fixed #6245: Added additional tests to assistance parser 2020-06-02 13:36:03 +02:00
core core: Fix race when deleting channel manager 2020-11-03 17:08:58 +01:00
crypto Fixed #6442: Use cmake to provide source directory for test pem 2020-08-25 09:48:29 +02:00
gdi Fixed missing input sanitation for GFX surfaces. 2020-07-20 14:11:36 +02:00
locale Merge pull request #5707 from akallabeth/kbd_codepage 2020-02-25 14:50:51 +01:00
primitives Fixed primitives test 2020-09-07 11:48:06 +02:00
utils Fixed pcap cleanup 2020-06-22 11:51:38 +02:00
CMakeLists.txt Fixed #6067: Better CMake warning for deactivated image scaling 2020-04-13 09:56:19 +02:00
freerdp.pc.in Include major version number in library names 2017-01-16 11:11:58 +01:00
FreeRDPConfig.cmake.in cleanup cmake exports and pkg-config files 2016-01-12 17:32:33 +01:00