]> granicus.if.org Git - libvpx/commit
Prevent decoder from using uninitialized entropy context.
authorAlexander Voronov <avoronov@graphics.cs.msu.ru>
Thu, 11 Dec 2014 17:44:19 +0000 (20:44 +0300)
committerAlexander Voronov <avoronov@graphics.cs.msu.ru>
Thu, 11 Dec 2014 17:44:19 +0000 (20:44 +0300)
commit6c6a97814ff5b7707fadaccc445615f91a07ebf7
treeab9b29d6a09de52c982c4e84492958bd99428f98
parent26a0721268cfbb921f8b2320ccecab2c3d8982f2
Prevent decoder from using uninitialized entropy context.

If decoding starts with intra-only frame, there is a possibility
of using uninitialized entropy context, what leads to undefined
behavior.

Change-Id: Icbb64b5b1bd1e5de2a4bfa2884e56bc0a20840af
vp9/common/vp9_entropymode.c
vp9/common/vp9_entropymode.h
vp9/decoder/vp9_decodeframe.c