This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
id2v2: check the return value of decode_str()
Fixes CID1030348 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
2d8f880a9b
commit
6241e8a382
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavformat/id3v2.c
+ 2
- 1
libavformat/id3v2.c
View File
@@ -527,7 +527,8 @@ static void read_chapter(AVFormatContext *s, AVIOContext *pb, int len, char *tta
int taglen;
char tag[5];
decode_str(s, pb, 0, &dst, &len);
if (decode_str(s, pb, 0, &dst, &len) < 0)
return;
if (len < 16)
return;
Write
Preview
Loading…
Cancel
Save