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>
Mon, 16 Jul 2018 17:02:12 +0000 (19:02 +0200)
commita21703ca5d42e91b3a218e755020e90ef3af2eae
tree2c9a983fc60ae04b7601d59ba8cb11030a4e9964
parenta28ab09e2a2ac3fcc61e77ff5d702d9157eb37bc
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>
(cherry picked from commit 2b46ebdbff1d8dec7a3d8ea280a612b91a582869)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/asfdec_o.c