mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-02 02:30:58 +00:00
parent
47a11ff457
commit
00ffbdfb68
@ -309,7 +309,7 @@ static int fic_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!tsize)
|
if (!tsize || !AV_RL16(src + 37) || !AV_RL16(src + 39))
|
||||||
skip_cursor = 1;
|
skip_cursor = 1;
|
||||||
|
|
||||||
if (!skip_cursor && tsize < 32) {
|
if (!skip_cursor && tsize < 32) {
|
||||||
|
Loading…
Reference in New Issue
Block a user