From: Takashi Iwai <tiwai@suse.de>
To: Murad Masimov <m.masimov@mt-integration.ru>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
<linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<lvc-project@linuxtesting.org>
Subject: Re: [PATCH] ALSA: usx2y: validate nrpacks module parameter on probe
Date: Mon, 03 Mar 2025 13:40:50 +0100 [thread overview]
Message-ID: <87o6yie17x.wl-tiwai@suse.de> (raw)
In-Reply-To: <20250303100413.835-1-m.masimov@mt-integration.ru>
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@mt-integration.ru>
Thanks, applied now.
Takashi
prev parent reply other threads:[~2025-03-03 12:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-03 10:04 [PATCH] ALSA: usx2y: validate nrpacks module parameter on probe Murad Masimov
2025-03-03 12:40 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o6yie17x.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
--cc=m.masimov@mt-integration.ru \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox