diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-08-18 12:59:45 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-08-18 12:36:33 +0200 |
commit | 89f0addeee3cb2dc49837599330ed9c4612f05b0 (patch) | |
tree | 201c749a27528e5490bc1951613886da07b237ac /rust/kernel/platform.rs | |
parent | c0ed3c2edc7692c6b8af7578b41012694dc8c671 (diff) |
ALSA: usb-audio: Fix size validation in convert_chmap_v3()
The "p" pointer is void so sizeof(*p) is 1. The intent was to check
sizeof(*cs_desc), which is 3, instead.
Fixes: ecfd41166b72 ("ALSA: usb-audio: Validate UAC3 cluster segment descriptors")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aKL5kftC1qGt6lpv@stanley.mountain
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'rust/kernel/platform.rs')
0 files changed, 0 insertions, 0 deletions