dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@37766 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2006-07-17 15:56:16 +00:00
parent ec03f69ba1
commit 4b6aacc5fd
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext)
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;