[asterisk-commits] dvossel: branch 1.2 r231518 - /branches/1.2/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 30 11:35:50 CST 2009


Author: dvossel
Date: Mon Nov 30 11:35:48 2009
New Revision: 231518

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=231518
Log:
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

Modified:
    branches/1.2/rtp.c

Modified: branches/1.2/rtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.2/rtp.c?view=diff&rev=231518&r1=231517&r2=231518
==============================================================================
--- branches/1.2/rtp.c (original)
+++ branches/1.2/rtp.c Mon Nov 30 11:35:48 2009
@@ -348,7 +348,6 @@
 	}
 	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;




More information about the asterisk-commits mailing list