lkml.org 
[lkml]   [2021]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH-next] sched: Fix Dereference after null check
On Sat, May 15, 2021 at 06:11:17PM +0100, Khaled ROMDHANI wrote:
> The group_cfs_rq derefrence the 'se' variable that could
> be passed as NULL pointer. Fix this by adding a check
> against the sched entity 'se' before the derefrence.
>
> Addresses-Coverity: ("Dereference after null check")
> Signed-off-by: Khaled ROMDHANI <khaledromdhani216@gmail.com>

Please, burn that piece of garbage known as Coverity and go do something
useful.

\
 
 \ /
  Last update: 2021-05-15 23:06    [W:0.030 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site