hevc: use av_mallocz() for allocating tab_ipm
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Jan 2014 19:23:51 +0000 (20:23 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 9 Mar 2014 16:08:11 +0000 (17:08 +0100)
commit6cc94e971933cd38c452172bb048bf760e65cc3e
tree968ab3985834ae6d8c107df291e7a6fba9de0f42
parent920c01adce6c273fc043513ff237a6266e612152
hevc: use av_mallocz() for allocating tab_ipm

Fixes use of uninitialized memory and out of stack array read.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/hevc.c