Re: [Intel-gfx] [PATCH 1/5] Fixing Possible Null Pointer Dereference

2020-08-26 Thread Shankar, Uma
> -Original Message- > From: Intel-gfx On Behalf Of Ville > Syrjälä > Sent: Tuesday, August 25, 2020 1:29 AM > To: Varide, Nischal > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH 1/5] Fixing Possible Null Pointer Dereference > > On

Re: [Intel-gfx] [PATCH 1/5] Fixing Possible Null Pointer Dereference

2020-08-24 Thread Ville Syrjälä
On Mon, Aug 24, 2020 at 09:15:52AM +0530, Nischal Varide wrote: > There is a possble Null Pointer dereference in intel_atomic.c and this > patch fixes the same by introducting a check to old_state, new_state > old_conn_state and new_conn_state variables. Not possible. In fact none of the supposed

[Intel-gfx] [PATCH 1/5] Fixing Possible Null Pointer Dereference

2020-08-24 Thread Nischal Varide
There is a possble Null Pointer dereference in intel_atomic.c and this patch fixes the same by introducting a check to old_state, new_state old_conn_state and new_conn_state variables. Signed-off-by: Nischal Varide --- drivers/gpu/drm/i915/display/intel_atomic.c | 5 + 1 file changed, 5 inse