[alsa-devel] [PATCH V2 0/2] ALSA: usb-audio: fix OOB and return value check
Jaejoong Kim
climbbb.kim at gmail.com
Mon Dec 4 07:31:47 CET 2017
Hi,
This patch series fixes the out-of-bound error caused by the return value
of usb_string(). It was descovered by KASAN.
KASAN OOB warning meesage was founded by connecting the following product.
http://www.lg.com/uk/lg-friends/lg-AFD-1200
Changes in v2:
- Changes return value check for second patch (by Takashi Iwai)
- In case of failure case, return 0 not negative value (by Takashi Iwai)
- Put an explicit error and bail out (by Takashi Iwai)
Thanks
jaejoong
Jaejoong Kim (2):
ALSA: usb-audio: Fix out-of-bound error
ALSA: usb-audio: Add check return value for usb_string()
sound/usb/mixer.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
--
2.7.4
More information about the Alsa-devel
mailing list