Re: [PATCH] hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2025 at 05:08:32AM +0200, Tasos Sahanidis wrote:
> pwm_num is set to 7 for these chips, but NCT6776_REG_PWM_MODE and
> NCT6776_PWM_MODE_MASK only contain 6 values.
> 
> Fix this by adding another 0 to the end of each array.
> 
> Signed-off-by: Tasos Sahanidis <tasos@xxxxxxxxxxxx>

Applied.

Thanks,
Guenter




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux