[alsa-devel] [PATCH] ALSA: seq: fix to copy from/to user space

Takashi Iwai tiwai at suse.de
Tue Sep 13 21:39:04 CEST 2016


On Tue, 13 Sep 2016 19:46:45 +0200,
Takashi Sakamoto wrote:
> 
> On Sep 13 2016 22:47, Takashi Iwai wrote:
> > On Tue, 13 Sep 2016 12:37:53 +0200,
> > Takashi Sakamoto wrote:
> >>
> >> When checking value of request for copy operation, current implementation
> >> compares shifted value to macros, while these macros are already shifted.
> >> As a result, it never performs to copy from/to user space.
> >>
> >> This commit fixes the bug.
> >>
> >> Fixes: 8ce8eb601c71('ALSA: seq: add an alternative way to handle ioctl requests'
> >> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
> > 
> > Applied, thanks.
> 
> Thanks to apply this, and sorry to have posted with such a critical bug...

No problem, it's still the development tree.  And it's good that you
could catch it quickly.


thanks,

Takashi


More information about the Alsa-devel mailing list