avformat/asfdec_o: Check size_bmp more fully
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 19:01:23 +0000 (21:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 5 Jul 2018 17:52:42 +0000 (19:52 +0200)
commit2b46ebdbff1d8dec7a3d8ea280a612b91a582869
treeb03192b490d9a50015219e4e580340a26296f5ef
parentbab0716c7f4793ec42e05a5aa7e80d82a0dd4e75
avformat/asfdec_o: Check size_bmp more fully

Fixes: integer overflow and out of array access
Fixes: asfo-crash-46080c4341572a7137a162331af77f6ded45cbd7

Found-by: Paul Ch <paulcher@icloud.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/asfdec_o.c