OSDN Git Service

avcodec/huffyuvdec: clear remainder of the array on end of input in decode_422_bitstr...
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Dec 2013 23:23:10 +0000 (00:23 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Dec 2013 23:26:57 +0000 (00:26 +0100)
commit42b6805cc1989f759f19e9d253527311741cbd3a
tree6693dac2516f7e8aaa1e1c0b85fa78b4fcf6db84
parent0875a9e4fc4cb622758a6b59d4cb07b64f29b8b2
avcodec/huffyuvdec: clear remainder of the array on end of input in decode_422_bitstream()

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