]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sound: oss: midi_synth: check get_user() return value
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 28 Jul 2010 16:41:17 +0000 (20:41 +0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:05 +0000 (10:57 -0400)
commit387b3e0a0ce26408e764e7bf268e8d98c4a660b7
treed1d0ad1683f19f9be1249e66d526d3d2f8ae8c4b
parent10be7dff113acfc430264c13e8bfe8c9397f1697
sound: oss: midi_synth: check get_user() return value

commit b3390ceab95601afc12213c3ec5551d3bc7b638f upstream.

get_user() may fail, if so return -EFAULT.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
sound/oss/midi_synth.c