mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
fixes crash caused by RTP comfort noise payload greater than 24 bytes
AST-2009-010 (closes issue #16242) Reported by: amorsen Patches: issue16242.diff uploaded by oej (license 306) Tested by: amorsen, oej, dvossel git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@231441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -848,7 +848,6 @@ static struct ast_frame *process_rfc3389(struct ast_rtp *rtp, unsigned char *dat
|
||||
}
|
||||
rtp->f.frametype = AST_FRAME_CNG;
|
||||
rtp->f.subclass = data[0] & 0x7f;
|
||||
rtp->f.datalen = len - 1;
|
||||
rtp->f.samples = 0;
|
||||
rtp->f.delivery.tv_usec = rtp->f.delivery.tv_sec = 0;
|
||||
f = &rtp->f;
|
||||
|
Reference in New Issue
Block a user