diff options
author | Markus Osterhoff <linux-kernel@k-raum.org> | 2015-08-24 14:11:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-24 15:02:03 +0200 |
commit | c7e69ae6b4ff49edf50180c0a32f3dd9d7967e31 (patch) | |
tree | a9bed7c211f32527244073be24275669f87274b6 /mm/mmu_notifier.c | |
parent | f6b28e4ded45bb91bc4cd115d55e35badedfce5f (diff) | |
download | blackbird-op-linux-c7e69ae6b4ff49edf50180c0a32f3dd9d7967e31.tar.gz blackbird-op-linux-c7e69ae6b4ff49edf50180c0a32f3dd9d7967e31.zip |
ALSA: hda: fix possible NULL dereference
After a for-loop was replaced by list_for_each_entry, see
Commit bbbc7e8502c9 ("ALSA: hda - Allocate hda_pcm objects dynamically"),
Commit 751e2216899c ("ALSA: hda: fix possible null dereference"),
a possible NULL pointer dereference has been introduced; this patch adds
the NULL check on pcm->pcm, while leaving a potentially superfluous
check on pcm itself untouched.
Signed-off-by: Markus Osterhoff <linux-kernel@k-raum.org>
Cc: <stable@vger.kernel.org> #v4.1+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions