Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use-after-free in rendezvous queue
./test-srt --gtest_filter=TestEnforcedEncryption.CASE_B_2_NonBlocking* ==24654==ERROR: AddressSanitizer: heap-use-after-free on address 0x62a000000f40 at pc 0x000109e6c756 bp 0x700000512550 sp 0x700000512548 READ of size 8 at 0x62a000000f40 thread T6 #0 0x109e6c755 in srt::sync::TimePoint<srt::sync::steady_clock>::TimePoint(srt::sync::TimePoint<srt::sync::steady_clock> const&) sync.h:189 Haivision#1 0x109df3f6c in srt::sync::TimePoint<srt::sync::steady_clock>::TimePoint(srt::sync::TimePoint<srt::sync::steady_clock> const&) sync.h:190 Haivision#2 0x10a1f0bfb in CRendezvousQueue::updateConnStatus(EReadStatus, EConnectStatus, CPacket const&) queue.cpp:949 Haivision#3 0x10a1fa38a in CRcvQueue::worker(void*) queue.cpp:1337 Haivision#4 0x7fff2032c94f in _pthread_start+0xdf (libsystem_pthread.dylib:x86_64+0x694f) Haivision#5 0x7fff2032847a in thread_start+0xe (libsystem_pthread.dylib:x86_64+0x247a)
- Loading branch information