OSDN Git Service

avcodec/iff: warn about truncated input to decode_byterun() and clear remaining output
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Dec 2013 19:48:51 +0000 (20:48 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Dec 2013 20:22:43 +0000 (21:22 +0100)
commitb3f44eafa5a8748f777d0935d6e5562a604d8770
treefcc365f15c74973e029b414d17fc35c7ae3b7915
parent5eeeb4abf9705891f4dd1a4499588428319dec24
avcodec/iff: warn about truncated input to decode_byterun() and clear remaining output

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