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>
Mon, 9 Jul 2018 23:52:56 +0000 (01:52 +0200)
commitfeb31c7ade15719d292c20da60763173e2ba3991
treec59e534f8a3556ddba612f5e8febc5c855190661
parentc75b8c9733efce84304a2dcec1bbfe806ab2e90f
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>
(cherry picked from commit cced03dd667a5df6df8fd40d8de0bff477ee02e8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mms.c