summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-16 18:19:29 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-17 10:17:08 +0200
commit68d4a6ea6cc6091a05836f783bc17d525d266d0b (patch)
tree5fffaf10d171b8e53038766fff983da2a5960644 /tools/lib/python/kdoc/python_version.py
parent25ea03135739225481d82c9d18a5090f3891ba45 (diff)
ALSA: seq: oss: Skip events until fully initialized
When an OSS sequencer device is opened, it creates a sequencer port, then further initializes the internal states like a timer instance, etc. Since the sequencer port is published, an event can be already delivered, and this may hit unexpected event handling, which can eventually cause a NULL dereference (like the timer start/stop event triggered before the timer initialization). For avoiding such a race, introduce a simple guard and skips the event processing until the port is fully initialized. At releasing the device, in turn, clear this guard, so that any input events will be discarded during the teardown. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: Sashiko <sashiko-bot@kernel.org> Cc: <stable@vger.kernel.org> Link: https://patch.msgid.link/20261016161930.482309-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions