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>
Sat, 7 Jul 2018 10:27:00 +0000 (12:27 +0200)
commit9dea41eac7229688e566a4a3e3f8251acf7ab97c
tree87bc51e890131859b9441e3d72e87d3a41e73116
parent78aa78410b6dcc962d7a05ee03524514a9e3933f
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