Re: [PATCH] jfs: Fix array-index-out-of-bounds in diFree
From: Matthew Wilcox
Date: Thu Apr 25 2024 - 23:27:55 EST
On Fri, Apr 26, 2024 at 11:34:12AM +0900, Jeongjun Park wrote:
> I forgot to add Dave to the cc, so I'm sending it again.
>
> Send final patch. With the patch that modified the location of
> release_metapage(), out-of-bounds vulnerabilities can now be
> sufficiently prevented.
This is not a good commit message.
> + if(agno >= MAXAG || agno < 0)
Please follow normal kernel whitespace rules -- one space between 'if'
and the open paren.