aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorTong Zhang <[email protected]>2021-09-07 01:47:45 +0000
committerTakashi Iwai <[email protected]>2021-09-07 05:13:19 +0000
commit8491f59e3b130ea8b5116e363d400c42f91544fc (patch)
tree424fb3ebc684431f3a526041df675b0a4af2527e /scripts/gcc-plugins/structleak_plugin.c
parentALSA: usb-audio: Add registration quirk for JBL Quantum 800 (diff)
downloadkernel-8491f59e3b130ea8b5116e363d400c42f91544fc.tar.gz
kernel-8491f59e3b130ea8b5116e363d400c42f91544fc.zip
ALSA: vx222: fix null-ptr-deref
a recent refactor created a null pointer vx in snd_vx222_probe(). The vx pointer should have been populated in snd_vx222_create() as suggested in earlier version, otherwise vx->core.ibl.size will throw an error. [ 1.298398] BUG: kernel NULL pointer dereference, address: 00000000000001d8 [ 1.316799] RIP: 0010:snd_vx222_probe+0x155/0x290 [snd_vx222] Fixes: 3bde3359aa16 ("ALSA: vx222: Allocate resources with device-managed APIs") Signed-off-by: Tong Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions