avcodec/hevc: use av_mallocz() for allocating tab_ipm
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Jan 2014 19:23:51 +0000 (20:23 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Jan 2014 19:30:22 +0000 (20:30 +0100)
commit0999f1613bc48ed9d6578a3ad7bcd17610e07fbf
treeb000438566132ec5c0681a0800839ff2bf3e109a
parentd5af400713951b322e9deb1bb99b681416a08522
avcodec/hevc: use av_mallocz() for allocating tab_ipm

Fixes use of uninitialized memory and out of stack array read
Fixes: signal_sigsegv_ecc526_7846_WPP_C_ericsson_MAIN_2.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc.c