diff options
| author | Takashi Iwai <tiwai@suse.de> | 2016-01-12 12:38:02 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-31 11:28:55 -0800 |
| commit | 36d3fc15f50c22bbddfceb6c585f851130fb005f (patch) | |
| tree | 8f425fbbbfe0a58685e89deabd9fb60ce2d1ed73 /tools/perf/scripts/python/syscall-counts.py | |
| parent | efb8a443f256c65fca9ea41012d5702fe71248a6 (diff) | |
ALSA: seq: Fix missing NULL check at remove_events ioctl
commit 030e2c78d3a91dd0d27fef37e91950dde333eba1 upstream.
snd_seq_ioctl_remove_events() calls snd_seq_fifo_clear()
unconditionally even if there is no FIFO assigned, and this leads to
an Oops due to NULL dereference. The fix is just to add a proper NULL
check.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Tested-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
