[asterisk-commits] trunk r37766 - in /trunk: ./ formats/format_h263.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jul 17 08:56:17 MST 2006


Author: tilghman
Date: Mon Jul 17 10:56:16 2006
New Revision: 37766

URL: http://svn.digium.com/view/asterisk?rev=37766&view=rev
Log:
Merged revisions 37765 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37765 | tilghman | 2006-07-17 10:52:15 -0500 (Mon, 17 Jul 2006) | 2 lines

Overflow bad

........

Modified:
    trunk/   (props changed)
    trunk/formats/format_h263.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/formats/format_h263.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_h263.c?rev=37766&r1=37765&r2=37766&view=diff
==============================================================================
--- trunk/formats/format_h263.c (original)
+++ trunk/formats/format_h263.c Mon Jul 17 10:56:16 2006
@@ -84,7 +84,7 @@
 	len &= 0x7fff;
 	if (len > BUF_SIZE) {
 		ast_log(LOG_WARNING, "Length %d is too long\n", len);
-		len = BUF_SIZE;	/* XXX truncate ? */
+		return NULL;
 	}
 	s->fr.frametype = AST_FRAME_VIDEO;
 	s->fr.subclass = AST_FORMAT_H263;



More information about the asterisk-commits mailing list