Em Tue, 16 Feb 2016 10:54:54 +
Sean Young escreveu:
> On Mon, Feb 15, 2016 at 09:33:11PM -0500, Insu Yun wrote:
> > Since rc_allocate_device() uses kmalloc,
> > it can returns NULL, so need to check,
> > otherwise, NULL derefenrece can be happened.
>
> Thanks for catching that.
>
> > Sig
On Mon, Feb 15, 2016 at 09:33:11PM -0500, Insu Yun wrote:
> Since rc_allocate_device() uses kmalloc,
> it can returns NULL, so need to check,
> otherwise, NULL derefenrece can be happened.
Thanks for catching that.
> Signed-off-by: Insu Yun
> ---
> drivers/media/rc/igorplugusb.c | 3 +++
> 1 f
Since rc_allocate_device() uses kmalloc,
it can returns NULL, so need to check,
otherwise, NULL derefenrece can be happened.
Signed-off-by: Insu Yun
---
drivers/media/rc/igorplugusb.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/rc/igorplugusb.c b/drivers/media/rc/igorpl
3 matches
Mail list logo