Terry Wilson 607398d450 
	
	
	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)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@347995  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
		
	 
		2011-12-12 19:22:35 +00:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2010-12-22 20:05:02 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-13 07:11:36 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-14 16:58:03 +00:00 
		 
	
		
			
			
			
			
			
			2011-05-09 23:15:32 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-14 20:48:59 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-15 20:09:02 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-01 17:28:09 +00:00 
		 
	
		
			
			
			
			
			
			2011-08-22 18:14:59 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-03 20:26:19 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-07-21 19:11:32 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-14 15:58:44 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-14 15:58:44 +00:00 
		 
	
		
			
			
			
			
			
			2010-05-21 15:15:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-23 17:12:46 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-05 14:45:18 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-23 16:09:09 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-01 19:37:47 +00:00 
		 
	
		
			
			
			
			
			
			2011-11-28 14:30:36 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-27 19:34:29 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2010-04-02 18:57:58 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-12 19:22:35 +00:00 
		 
	
		
			
			
			
			
			
			2010-06-08 05:29:08 +00:00 
		 
	
		
			
			
			
			
			
			2011-12-01 21:11:39 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:13:06 +00:00 
		 
	
		
			
			
			
			
			
			2011-08-17 17:35:27 +00:00