[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87o6yie17x.wl-tiwai@suse.de>
Date: Mon, 03 Mar 2025 13:40:50 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Murad Masimov <m.masimov@...integration.ru>
Cc: Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
<linux-sound@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<lvc-project@...uxtesting.org>
Subject: Re: [PATCH] ALSA: usx2y: validate nrpacks module parameter on probe
On Mon, 03 Mar 2025 11:04:13 +0100,
Murad Masimov wrote:
>
> The module parameter defines number of iso packets per one URB. User is
> allowed to set any value to the parameter of type int, which can lead to
> various kinds of weird and incorrect behavior like integer overflows,
> truncations, etc. Number of packets should be a small non-negative number.
>
> Since this parameter is read-only, its value can be validated on driver
> probe.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Murad Masimov <m.masimov@...integration.ru>
Thanks, applied now.
Takashi
Powered by blists - more mailing lists