Thread (2 messages) 2 messages, 2 authors, 2023-10-01

Re: [PATCH] Input: powermate - fix use-after-free in powermate_config_complete

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2023-09-18 22:10:16
Also in: lkml

Possibly related (same subject, not in this thread)

On Mon, Sep 18, 2023 at 06:51:49AM +0200, Javier Carrasco Cruz wrote:
Hi,

There's an obvious error in the patch I introduced when cleaningup
(urb->status should be used instead of just status). I will send a v2.
I think what we need is call to usb_kill_urb(pm->config) in
powermate_disconnect(), right after call to input_unregister_device().

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help