Skip to content
Snippets Groups Projects
Commit 83f5766c authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

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

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f6d03e82
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext) ...@@ -84,7 +84,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext)
len &= 0x7fff; len &= 0x7fff;
if (len > BUF_SIZE) { if (len > BUF_SIZE) {
ast_log(LOG_WARNING, "Length %d is too long\n", len); 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.frametype = AST_FRAME_VIDEO;
s->fr.subclass = AST_FORMAT_H263; s->fr.subclass = AST_FORMAT_H263;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment