lkml.org 
[lkml]   [2022]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drm/v3d: Fix null pointer dereference of pointer perfmon
On 04/25, Juan A. Suárez wrote:
> On Sun, 2022-04-24 at 19:35 +0100, Colin Ian King wrote:
> > In the unlikely event that pointer perfmon is null the WARN_ON return
> > path
> > occurs after the pointer has already been deferenced. Fix this by
> > only
> > dereferencing perfmon after it has been null checked.
> >
>
> Good catch!
>
> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>

Applied to drm-misc-next.

Thanks,

Melissa
>
>
> J.A.
>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-04-26 15:00    [W:0.099 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site