[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1635156000-2426673-1-git-send-email-jiasheng@iscas.ac.cn>
Date: Mon, 25 Oct 2021 10:00:00 +0000
From: Jiasheng Jiang <jiasheng@...as.ac.cn>
To: mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com
Cc: linux-kernel@...r.kernel.org, Jiasheng Jiang <jiasheng@...as.ac.cn>
Subject: Re: Re: [PATCH] sched: Fix implicit type conversion
On Mon, Oct 25, 2021 at 08:57:31AM +0000, Peter Zijlstra wrote:
>> The variable 'n' is defined as ULONG. However in the cpumask_next(),
>> it is used as INT.
>> That is vulnerable and may cause overflow.
>> Therefore, it might be better to define 'n' as INT.
>-ENOPARSE
I don't understand the 'ENOPARSE'.
Please give me more details.
Powered by blists - more mailing lists