Re: [PATCH 6/6] irq: Potentially 'offset out of size' bug
Date
Fri, 10 Sep 2021 12:28:16 +0200
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.