Commit f17c5e08 authored by Janne Grunau's avatar Janne Grunau

check IntraBC displacement vector

Fixes a overlapping memcpy for
dav1d-fuzzing-data:artifacts/crash-9550bf1d4b851a3a930394df4e2970d4eb50f47e.
parent 57347c19
......@@ -1192,6 +1192,8 @@ static void decode_b(Dav1dTileContext *const t,
printf("Post-dmv[%d/%d,ref=%d/%d|%d/%d]: r=%d\n",
b->mv[0].y, b->mv[0].x, ref.y, ref.x,
mvlist[0][0].y, mvlist[0][0].x, ts->msac.rng);
if (b->mv[0].x >= 0 && b->mv[0].y >= 0)
b->mv[0] = ref;
read_vartx_tree(t, b, bs, bx4, by4);
// reconstruction
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment