diff options
author | Terry Wilson <twilson@digium.com> | 2011-12-19 01:36:21 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2011-12-19 01:36:21 +0000 |
commit | 78b17e6d41e8bac9b65a0240b56ab3649547566c (patch) | |
tree | 78b1c46065257a0a8e8386cb3d08a978145148de /main/message.c | |
parent | d30a7ba3ce2903ae7f44ecc292bb7897e101152d (diff) |
Add a separate buffer for SRTCP packets
The function ast_srtp_protect used a common buffer for both SRTP and SRTCP
packets. Since this function can be called from multiple threads for the same
SRTP session (scheduler for SRTCP and channel for SRTP) it was possible for the
packets to become corrupted as the buffer was used by both threads
simultaneously.
This patch adds a separate buffer for SRTCP packets to avoid the problem.
(closes issue ASTERISK-18889, Reported/patch by Daniel Collins)
........
Merged revisions 347995 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 347996 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/message.c')
0 files changed, 0 insertions, 0 deletions