Re: [PATCH] media: rc: fix check on dev->min_timeout for LIRC_GET_MIN_TIMEOUT ioctl

2020-09-15 Thread Colin Ian King
On 15/09/2020 18:12, Sean Young wrote: > On Tue, Sep 15, 2020 at 04:36:08PM +0100, Colin King wrote: >> From: Colin Ian King >> >> Currently the LIRC_GET_MIN_TIMEOUT is checking for a null dev->max_timeout >> and then accessing dev->min_timeout, hence we may have a potential null >> pointer derefe

Re: [PATCH] media: rc: fix check on dev->min_timeout for LIRC_GET_MIN_TIMEOUT ioctl

2020-09-15 Thread Sean Young
On Tue, Sep 15, 2020 at 04:36:08PM +0100, Colin King wrote: > From: Colin Ian King > > Currently the LIRC_GET_MIN_TIMEOUT is checking for a null dev->max_timeout > and then accessing dev->min_timeout, hence we may have a potential null > pointer dereference issue. This looks like a cut-n-paste t