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, 16 Jul 2018 17:02:12 +0000 (19:02 +0200)
commit6d992a51c75aafba6e21bff95cddae9d717bc7e3
treecd86ab1bb30d3f57adab52659a3e4c1274462c20
parent6f4b82cc3a879f5d3f9a4738bfd7d93757221958
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