avformat/iff: check avio_read() return in get_metadata()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Dec 2013 23:57:15 +0000 (00:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Dec 2013 23:58:13 +0000 (00:58 +0100)
commit8e90c7285d1cbf62a9c9a5f9e6efda998dc0d454
tree78df755096f8dbe269c5f6fd0b83025408263aa0
parent55fa898969d10e2d47bba0613175bf57a86c5a41
avformat/iff: check avio_read() return in get_metadata()

Fixes: msan_uninit-mem_7f9539ba8461_4760_dasboot_in_compressed
Fixes use of uninitialized memory
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/iff.c