[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAO-hwJJefrHHkffo2o1bq1iJCQJe2-Oq3PZ0to07RS0U-xA5Sg@mail.gmail.com>
Date: Mon, 19 Dec 2022 15:06:05 +0100
From: Benjamin Tissoires <benjamin.tissoires@...hat.com>
To: Bastien Nocera <hadess@...ess.net>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiri Kosina <jikos@...nel.org>,
"Peter F . Patel-Schneider" <pfpschneider@...il.com>,
Filipe LaĆns <lains@...eup.net>,
Nestor Lopez Casado <nlopezcasad@...itech.com>
Subject: Re: [PATCH] HID: logitech-hidpp: Guard FF init code against non-USB devices
On Thu, Dec 15, 2022 at 4:44 PM Bastien Nocera <hadess@...ess.net> wrote:
>
> The Force Feedback code assumes that all the devices passed to it will
> be USB devices, but that might not be the case for emulated devices.
> Guard against a crash by checking the device type before poking at USB
> properties.
>
> Reported-by: Benjamin Tissoires <benjamin.tissoires@...hat.com>
> Signed-off-by: Bastien Nocera <hadess@...ess.net>
> ---
I have added cc: stable, and applied to for-6.2/upstream-fixes
Thanks,
Benjamin
Powered by blists - more mailing lists