﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
153	MMVD selects GBI index from invalid array	bheng		"In ContextModelling.cpp, setMmvdMergeCandiInfo() function.  The GBI index for the MMVD vector is selected as follows.

    pu.cu->GBiIdx = (interDirNeighbours[fPosBaseIdx] == 3) ? GBiIdx[fPosBaseIdx] : GBI_DEFAULT;

The interDirNeighbours and GBiIdx arrays are for the regular merge list.  

The fPosBasIdx is an index into the MMVD merge list.  

Using fPosBasIdx to lookup the GBI index from the regular merge list will give the wrong result and can lead to accessing uninitialized memory.
"	defect	closed	minor	VTM-4.0	VTM	VTM-3.0	fixed		ksuehring XiangLi fbossen jvet@…
