Re: [PATCH] Input: walkera0701 - Fix possible NULL pointer dereference in walkera0701_detach

2019-10-16 Thread Sudip Mukherjee
On Tue, Apr 23, 2019 at 10:56:37PM +0800, Yue Haibing wrote: > From: YueHaibing > > KASAN report this: > > static void walkera0701_detach(struct parport *port) > { > struct walkera_dev *w = _dev; > > - if (!w->pardevice || w->parport->number != port->number) > + if

Re: [PATCH] Input: walkera0701 - Fix possible NULL pointer dereference in walkera0701_detach

2019-05-16 Thread YueHaibing
ping... On 2019/4/23 22:56, Yue Haibing wrote: > From: YueHaibing > > KASAN report this: > > walkera0701: failed to allocate input device > kasan: CONFIG_KASAN_INLINE enabled > kasan: GPF could be caused by NULL-ptr deref or user memory access > general protection fault: [#1] SMP KASAN

[PATCH] Input: walkera0701 - Fix possible NULL pointer dereference in walkera0701_detach

2019-04-23 Thread Yue Haibing
From: YueHaibing KASAN report this: walkera0701: failed to allocate input device kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: [#1] SMP KASAN PTI CPU: 1 PID: 5324 Comm: syz-executor.0 Tainted: G C