Re: [PATCH] input: touchscreen: Add NULL pointer check before dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 01, 2019 at 11:53:09PM +0530, Saiyam Doshi wrote:
> In sx8654_probe function, if call to device_get_match_data()
> return NULL, it dereferences driver_data from 'id'.
> 
> To avoid NULL pointer dereference, add check to make sure
> 'id' is not NULL.

Any review / update on this?

-Saiyam



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux