diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-17 15:56:16 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-17 15:56:16 +0000 |
commit | 4b6aacc5fdfdb822f400a438aa2c422bec19d751 (patch) | |
tree | cf90c9365a612f0a549cf7778f038d7745cbf612 /formats | |
parent | ec03f69ba1ff6e8ff9babc156b95862267f7cba9 (diff) |
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
Diffstat (limited to 'formats')
-rw-r--r-- | formats/format_h263.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_h263.c b/formats/format_h263.c index 08891c8cd..70108e9ef 100644 --- a/formats/format_h263.c +++ b/formats/format_h263.c @@ -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; |