Re: [PATCH 2/2] ALSA: control - off by one in store_mode()

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

 



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@xxxxxxxxxx>
> 
> No idea why I added + 1... Thanks for your correction.
> 
> Reviewed-by: Jaroslav Kysela <perex@xxxxxxxx>

Applied now.  Thanks.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux