RTCP related fixes
Manually apply the necessary fix from the commit: asterisk-chan-voicemngr@753ecced
- There were some errors in processing a compound RTCP packet that contains more than one RTCP type. This caused Asterisk crashes when receiving some compound RTCP packets because the heap was corrupted by overwriting the dynamically allocated buffer.
And correct the packet data length after decrypting.
- The data length(
len
) has been modified/corrected after decrypting (line 6154 res_rtp_asterisk.c), but our frame length still uses the old length(size
) which is larger than the actual data length.
Edited by Wenpeng Song