[svn-commits] dvossel: branch 1.4 r231441 - /branches/1.4/main/rtp.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 30 11:14:10 CST 2009


Author: dvossel
Date: Mon Nov 30 11:14:08 2009
New Revision: 231441

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=231441
Log:
fixes crash caused by RTP comfort noise payload greater than 24 bytes

AST-2009-101

(closes issue #16242)
Reported by: amorsen
Patches:
      issue16242.diff uploaded by oej (license 306)
Tested by: amorsen, oej, dvossel


Modified:
    branches/1.4/main/rtp.c

Modified: branches/1.4/main/rtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/rtp.c?view=diff&rev=231441&r1=231440&r2=231441
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Mon Nov 30 11:14:08 2009
@@ -848,7 +848,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 svn-commits mailing list