pcm_native: result of put_user() needs to be checked
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 19 Mar 2020 22:08:59 +0000 (18:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Apr 2020 13:33:49 +0000 (09:33 -0400)
commitebe6976d3634a311367f72c2402f148ab9f23920
tree3c45f161f86ae3fc4c8102c2696295a608033222
parenta656d47a010b74e390c4336efc0f617886ab407c
pcm_native: result of put_user() needs to be checked

... and no, __put_user() doesn't help here - skipping
access_ok() on the second call does not remove the
possibility of page having become unmapped or r/o
in the meanwhile

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
sound/core/pcm_native.c