shithub: libvpx

Download patch

ref: ed217fe372f59eaeef074b4d3859b49a700cfa47
parent: 36825590ba676d54765c6c31482cacb4fe661b43
parent: 52add5896661d186dec284ed646a4b33b607d2c7
author: Jerome Jiang <jianj@google.com>
date: Fri May 25 13:48:28 EDT 2018

Merge "VP8: Fix use-after-free in postproc."

--- a/vp8/common/postproc.c
+++ b/vp8/common/postproc.c
@@ -65,7 +65,7 @@
   double level = 6.0e-05 * q * q * q - .0067 * q * q + .306 * q + .0065;
   int ppl = (int)(level + .5);
 
-  const MODE_INFO *mode_info_context = cm->show_frame_mi;
+  const MODE_INFO *mode_info_context = cm->mi;
   int mbr, mbc;
 
   /* The pixel thresholds are adjusted according to if or not the macroblock