Messages in this thread | | | From | Benjamin Tissoires <> | Date | Mon, 19 Dec 2022 15:06:05 +0100 | 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@hadess.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@redhat.com> > Signed-off-by: Bastien Nocera <hadess@hadess.net> > ---
I have added cc: stable, and applied to for-6.2/upstream-fixes
Thanks, Benjamin
| |