diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-30 17:14:08 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-30 17:14:08 +0000 |
commit | 571af1743b93081323b1f7a4e745aefbcf4fdf36 (patch) | |
tree | 008649e47fa826b5c203340e17b011148a34a1a0 /main | |
parent | 79e8d51f2d57d3d525c6670ead57ae22a42f2c1e (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@231441 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/rtp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c index 12e363809..a124bb745 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -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; |