avformat/mov: Fix DoS in read_tfra()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 4 Sep 2017 22:16:29 +0000 (00:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 8 Sep 2017 16:37:21 +0000 (18:37 +0200)
commitd08abbd0bd165f528fb97bd02c71e551d9f763ff
tree0417fa0219e3f08542a5d2adbcaed45860635d48
parentfd4500df5c87cba6f1cae97ec3cd0932e7a5eac7
avformat/mov: Fix DoS in read_tfra()

Fixes: Missing EOF check in loop
No testcase

Found-by: Xiaohei and Wangchu from Alibaba Security Team
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9cb4eb772839c5e1de2855d126bf74ff16d13382)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c