mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '459f2b393a3f89ed08d10fbceb4738d1429f268e'
* commit '459f2b393a3f89ed08d10fbceb4738d1429f268e':
mpc8: Check the seek table size parsed from the bitstream
Conflicts:
libavformat/mpc8.c
See: b61ba262a1
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
ad9a877a6d
|
@ -151,7 +151,7 @@ static void mpc8_parse_seektable(AVFormatContext *s, int64_t off)
|
|||
return;
|
||||
}
|
||||
if (size > INT_MAX/10 || size<=0) {
|
||||
av_log(s, AV_LOG_ERROR, "Seek table size is invalid\n");
|
||||
av_log(s, AV_LOG_ERROR, "Bad seek table size\n");
|
||||
return;
|
||||
}
|
||||
if(!(buf = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE)))
|
||||
|
|
Loading…
Reference in New Issue