]> granicus.if.org Git - libvpx/commit
VP8: Fix use-after-free in postproc.
authorJerome Jiang <jianj@google.com>
Wed, 23 May 2018 22:43:00 +0000 (15:43 -0700)
committerJerome Jiang <jianj@google.com>
Fri, 25 May 2018 17:46:26 +0000 (10:46 -0700)
commit52add5896661d186dec284ed646a4b33b607d2c7
treea1d0f9cef9775892967d27b0043bf13e266170ce
parent276cafb7a764cd476c5167a77660984a9cf98ad5
VP8: Fix use-after-free in postproc.

The pointer in vp8 postproc refers to show_frame_mi which is only
updated on show frame. However, when there is a no-show frame which also
changes the size (thus new frame buffers allocated), show_frame_mi is
not updated with new frame buffer memory.

Change the pointer in postproc to mi which is always updated.

Bug: 842265
Change-Id: I33874f2112b39f74562cba528432b5f239e6a7bd
vp8/common/postproc.c