Skip to content
Snippets Groups Projects
Commit a7e032a2 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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: default avatarPaul Ch <paulcher@icloud.com>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 2b46ebdb
No related branches found
No related tags found
No related merge requests found
......@@ -522,7 +522,7 @@ static int rm_read_multi(AVFormatContext *s, AVIOContext *pb,
size2 = avio_rb32(pb);
ret = ff_rm_read_mdpr_codecdata(s, s->pb, st2, st2->priv_data,
size2, mime);
size2, NULL);
if (ret < 0)
return ret;
}
......
  • Auri @aurieh

    mentioned in commit 37f505cc

    ·

    mentioned in commit 37f505cc

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment