Re: [PATCH] usb: dwc3: core: avoid NULL pointer dereference

2015-07-15 Thread santosh shilimkar
Felipe, On 7/15/2015 2:56 PM, Murali Karicheri wrote: On 07/02/2015 06:34 PM, Felipe Balbi wrote: commit 3e10a2ce98d1 (usb: dwc3: add hsphy_interface property) introduced a possible NULL pointer dereference because dwc-hsphy_interface can be NULL. In order to fix it, all we have to do is

Re: [PATCH] usb: dwc3: core: avoid NULL pointer dereference

2015-07-15 Thread Murali Karicheri
On 07/02/2015 06:34 PM, Felipe Balbi wrote: commit 3e10a2ce98d1 (usb: dwc3: add hsphy_interface property) introduced a possible NULL pointer dereference because dwc-hsphy_interface can be NULL. In order to fix it, all we have to do is guard strncmp() against a NULL argument. Fixes:

[PATCH] usb: dwc3: core: avoid NULL pointer dereference

2015-07-02 Thread Felipe Balbi
commit 3e10a2ce98d1 (usb: dwc3: add hsphy_interface property) introduced a possible NULL pointer dereference because dwc-hsphy_interface can be NULL. In order to fix it, all we have to do is guard strncmp() against a NULL argument. Fixes: 3e10a2ce98d1 (usb: dwc3: add hsphy_interface property)