OSDN Git Service

avcodec/ivi_common: use av_mallocz() to allocate mbs array
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Dec 2013 17:09:58 +0000 (18:09 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Dec 2013 13:53:39 +0000 (14:53 +0100)
commitd164ad3298c155330e303bea907920643b5d74a3
treea6e392f539dbca4277a9605fc12a731cdcc4c6d4
parent14bec7dcf8299f35fff1e2158c6cb8c6d6b2e083
avcodec/ivi_common: use av_mallocz() to allocate mbs array

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