avformat/rmdec: Do not pass mime type in rm_read_multi() to ff_rm_read_mdpr_codecdata()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 19:37:46 +0000 (21:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Jul 2018 17:45:47 +0000 (19:45 +0200)
commit4a42353c7a0c906a38c7cfc2fe29c0242a2c2231
tree43389bc359d5167f5717c48d8b99fcd2492e3997
parent2b8c152327b9a403a648376e1fd3891fcc5fbb38
avformat/rmdec: Do not pass mime type in rm_read_multi() to ff_rm_read_mdpr_codecdata()

Fixes: use after free()
Fixes: rmdec-crash-ffe85b4cab1597d1cfea6955705e53f1f5c8a362

Found-by: Paul Ch <paulcher@icloud.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit a7e032a277452366771951e29fd0bf2bd5c029f0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rmdec.c