Re: [PATCH][next] drm/panel: fix null pointer dereference on pointer mode

2020-09-18 Thread Colin Ian King
On 18/09/2020 17:22, Guido Günther wrote: > Hi, > On Fri, Sep 18, 2020 at 04:51:36PM +0100, Colin King wrote: >> From: Colin Ian King >> >> Currently a null pointer check on pointer mode is passing mode to >> function drm_mode_vrefresh and this causes a null pointer dereference >> on mode. Fix th

Re: [PATCH][next] drm/panel: fix null pointer dereference on pointer mode

2020-09-18 Thread Guido Günther
Hi, On Fri, Sep 18, 2020 at 04:51:36PM +0100, Colin King wrote: > From: Colin Ian King > > Currently a null pointer check on pointer mode is passing mode to > function drm_mode_vrefresh and this causes a null pointer dereference > on mode. Fix this by not calling drm_mode_vrefresh since the call

[PATCH][next] drm/panel: fix null pointer dereference on pointer mode

2020-09-18 Thread Colin King
From: Colin Ian King Currently a null pointer check on pointer mode is passing mode to function drm_mode_vrefresh and this causes a null pointer dereference on mode. Fix this by not calling drm_mode_vrefresh since the call is only required for error reporting. Addresses-Coverity: ("Dereference