Re: [PATCH] ALSA: rawmidi - fix the uninitalized user_pversion

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

 



On Sat, 18 Dec 2021 13:39:25 +0100,
Jaroslav Kysela wrote:
> 
> The user_pversion was unitialized for the user space file structure
> in the open function, because the file private structure use
> kmalloc for the allocation.
> 
> The kernel ALSA sequencer code clears the file structure, so no additional
> fixes are required.
> 
> Cc: stable@xxxxxxxxxx
> Cc: broonie@xxxxxxxxxx
> BugLink: https://github.com/alsa-project/alsa-lib/issues/178
> Fixes: 09d23174402d ("ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION")
> Reported-by: syzbot+88412ee8811832b00dbe@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>

Thanks, applied now with a minor typo fix.


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