avformat/id3v2: Check avio_read() return code in id3v2_parse()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Dec 2013 14:42:53 +0000 (15:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Dec 2013 14:45:44 +0000 (15:45 +0100)
commit0e0f6bd4a5796f4f668092d7925a31b9b30fedd4
tree9ef7a3e6469fda8f79ff37bc6b53d1e59e4d7f4e
parent037fc3b054b10aee0f11fdbe835e5dffa8e95b37
avformat/id3v2: Check avio_read() return code in id3v2_parse()

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