[PATCH 2/2] ALSA: control - off by one in store_mode()
Takashi Iwai
tiwai at suse.de
Tue Apr 6 13:34:38 CEST 2021
On Fri, 02 Apr 2021 19:52:43 +0200,
Jaroslav Kysela wrote:
>
> Dne 02. 04. 21 v 13:42 Dan Carpenter napsal(a):
> > If count is 16 then this will put the NUL terminator one element beyond
> > the end of the array.
> >
> > Fixes: cb17fe0045aa ("ALSA: control - add sysfs support to the LED trigger module")
> > Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
>
> No idea why I added + 1... Thanks for your correction.
>
> Reviewed-by: Jaroslav Kysela <perex at perex.cz>
Applied now. Thanks.
Takashi
More information about the Alsa-devel
mailing list