avformat/mms: Add missing chunksize check
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 18:33:04 +0000 (20:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Jul 2018 10:36:09 +0000 (12:36 +0200)
commitcced03dd667a5df6df8fd40d8de0bff477ee02e8
tree475ebf4c46464fe8ea79dc3ef4033dc81b9ab94f
parenta2317556efb79cbe8e21bf75d56c75e4086602ec
avformat/mms: Add missing chunksize check

Fixes: out of array read
Fixes: mms-crash-01b6c5d85f9d9f40f4e879896103e9f5b222816a

Found-by: Paul Ch <paulcher@icloud.com>
1st hunk by Paul Ch <paulcher@icloud.com>
Tested-by: Paul Ch <paulcher@icloud.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mms.c