diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-09-13 19:37:53 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-13 15:45:29 +0200 |
commit | 69b05825e1f883d15d3d051d0eab3171e247ecaa (patch) | |
tree | a0069de9a06b5fe2cde31bc1697cc324c7993ea0 /lib | |
parent | 071f1344f47946dfcb511bf0fbc998dd9a83be29 (diff) | |
download | linux-stable-69b05825e1f883d15d3d051d0eab3171e247ecaa.tar.gz linux-stable-69b05825e1f883d15d3d051d0eab3171e247ecaa.tar.bz2 linux-stable-69b05825e1f883d15d3d051d0eab3171e247ecaa.zip |
ALSA: seq: fix to copy from/to user space
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@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions