30 Oct
2013
30 Oct
'13
6:51 p.m.
On Wed, Oct 30, 2013 at 08:35:07AM +0100, Takashi Iwai wrote:
int block = wm8996_get_retune_mobile_block(kcontrol->id.name);
- if (block < 0)
ucontrol->value.enumerated.item[0] = wm8996->retune_mobile_cfg[block];return block;
Applied, but this only fixes some of the problem - there's nothing validating that block is in bounds for the array, this now adds code which validates the lower but not upper bound for this.