shithub: dav1d

Download patch

ref: 8c95771dfa7a0bdb542eef8924bd0d3009e5efff
parent: 1ddd4cb83b1a214798a047fcec7b50f4f0234369
author: Janne Grunau <janne-vlc@jannau.net>
date: Thu Nov 8 18:04:45 EST 2018

frame-mt: set b->filter2d for intra bc blocks

Fixes #154, index out of bounds in decode_b() with
clusterfuzz-testcase-minimized-dav1d_fuzzer_mt-5750775674830848. Credits
to oss-fuzz.

--- a/src/decode.c
+++ b/src/decode.c
@@ -1299,6 +1299,7 @@
         // reconstruction
         if (f->frame_thread.pass == 1) {
             f->bd_fn.read_coef_blocks(t, bs, b);
+            b->filter2d = FILTER_2D_BILINEAR;
         } else {
             if (f->bd_fn.recon_b_inter(t, bs, b)) return -1;
         }