forked from baresip/baresip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
srtp: lock possible re-keying against usage in receive handler
* while the main thread may remove the st->srtp_rx struct, the rx thread accessed the freed memory. * concurrent access of st->srtp_rx is mitigated with lock. * critical section is between first possible removal of st->srtp_rx, until new st->srtp_rx is ready. for the rx thread the access to srtcp_decrypt and srtp_decrypt.
- Loading branch information
1 parent
7b9ebc9
commit 29a6652
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters