diff options
| author | Takashi Iwai <[email protected]> | 2025-07-31 05:37:08 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2025-07-31 15:04:28 +0000 |
| commit | df485a4b2b3ee5b35c80f990beb554e38a8a5fb1 (patch) | |
| tree | f14a043a636b5330b357879c373763b7555c5e39 /drivers/pci/controller/pci-host-common.c | |
| parent | mips: Update HD-audio configs again (diff) | |
| download | kernel-df485a4b2b3ee5b35c80f990beb554e38a8a5fb1.tar.gz kernel-df485a4b2b3ee5b35c80f990beb554e38a8a5fb1.zip | |
ALSA: usb: scarlett2: Fix missing NULL check
scarlett2_input_select_ctl_info() sets up the string arrays allocated
via kasprintf(), but it misses NULL checks, which may lead to NULL
dereference Oops. Let's add the proper NULL check.
Fixes: 8eba063b5b2b ("ALSA: scarlett2: Simplify linked channel handling")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
