summaryrefslogtreecommitdiffstats
path: root/scripts/spdxexclude
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-09-16 08:07:25 +0200
committerTakashi Iwai <tiwai@suse.de>2023-09-16 08:08:05 +0200
commitb2ce0027d7b2905495021c5208f92043eb493146 (patch)
treeb38a477073982452c72daf37723e107739b8f278 /scripts/spdxexclude
parent322e0c500073ac4b2f74d8c850c0aeee81be8df3 (diff)
downloadlinux-stable-b2ce0027d7b2905495021c5208f92043eb493146.tar.gz
linux-stable-b2ce0027d7b2905495021c5208f92043eb493146.tar.bz2
linux-stable-b2ce0027d7b2905495021c5208f92043eb493146.zip
ALSA: rawmidi: Fix NULL dereference at proc read
At the implementation of the optional proc fs in rawmidi, I forgot that rmidi->ops itself is optional and can be NULL. Add the proper NULL check for avoiding the Oops. Fixes: fa030f666d24 ("ALSA: ump: Additional proc output") Reported-and-tested-by: Mark Hills <mark@xwax.org> Closes: https://lore.kernel.org/r/ef9118c3-a2eb-d0ff-1efa-cc5fb6416bde@xwax.org Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20230916060725.11726-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/spdxexclude')
0 files changed, 0 insertions, 0 deletions