avformat/mlvdec: read_string() received unsigned size, make the argument unsigned
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Aug 2018 13:36:28 +0000 (15:36 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 17 Aug 2018 19:53:13 +0000 (21:53 +0200)
commit1e71cb2c8edcf3dad657c15a6fb8572862f2afb9
treefe59d7e359a7a225f324f058fbd433393c034f7e
parentf00964e2f7eacaf7350504896cf124112e401454
avformat/mlvdec: read_string() received unsigned size, make the argument unsigned

Fixes: infinite loop
Fixes: mlv-timeout-e3b8cab9835edecad6823baa057e029671329d04

Found-by: Paul Ch <paulcher@icloud.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mlvdec.c