mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
Revert "ALSA: timer: Fix UAF at snd_timer_user_params()"
This reverts commit 053a401b59.
With the change of the timer object lifecycle with kref, this
temporary workaround is no longer needed.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260609115100.806869-3-tiwai@suse.de
This commit is contained in:
parent
ccd0db6671
commit
dde75ff0f6
|
|
@ -1861,7 +1861,6 @@ static int snd_timer_user_params(struct file *file,
|
|||
struct snd_timer_params params;
|
||||
int err;
|
||||
|
||||
guard(mutex)(®ister_mutex);
|
||||
tu = file->private_data;
|
||||
if (!tu->timeri)
|
||||
return -EBADFD;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user