﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
798	Wrong size for array of coeff delta idx	pierrick.bouvier		"In, source/Lib/CommonLib/AlfParameters.h 

size of arrays:
- lumaCoeff
- lumaClipp
- filterCoeffDeltaIdx
- alfLumaCoeffFlag

is wrongly defined to MAX_NUM_ALF_CLASSES (= 25).

In spec, 7.4.3.16, it is said:
'''The length of alf_luma_coeff_delta_idx[ filtIdx ] is
Ceil( Log2( alf_luma_num_filters_signalled_minus1 + 1 ) ) bits.'''

This results in this array having value possible between 0 and 32, instead of 0 and 25.

This results in out-of-bounds memory access, leading to wrong values (unitialized) used in reconstruction, and finally, random differences in YUV output."	defect	closed	major		spec		fixed		ksuehring XiangLi fbossen jvet@…
