ALSA: usb-audio: fix OOB and return value check
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- 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)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ALSA: usb-audio: Fix out-of-bound errorsound/ | +4 | 1 reply | |
| 2/2 | ALSA: usb-audio: Add check return value for usb_string()sound/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/2] ALSA: usb-audio: fix OOB and return value check
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(-)
Signature · 1 line
2.7.4