[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87tuisd8sf.ffs@tglx>
Date: Fri, 10 Sep 2021 12:28:16 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Jiang Jiasheng <jiasheng@...as.ac.cn>
Cc: linux-kernel@...r.kernel.org, Jiang Jiasheng <jiasheng@...as.ac.cn>
Subject: Re: [PATCH 6/6] irq: Potentially 'offset out of size' bug
On Fri, Sep 10 2021 at 03:26, Jiang Jiasheng wrote:
> The find_next_bit() use nr_irqs as size, and using it without
> any check might cause its returned value out of the size
Why exactly is this a problem? The return value has to be checked at the
call site anyway.
Thanks,
tglx
Powered by blists - more mailing lists