[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172290065204.2803.10007931893613649587.git-patchwork-notify@kernel.org>
Date: Mon, 05 Aug 2024 23:30:52 +0000
From: patchwork-bot+f2fs@...nel.org
To: Nikita Zhandarovich <n.zhandarovich@...tech.ru>
Cc: jaegeuk@...nel.org, chao@...nel.org, lvc-project@...uxtesting.org,
stable@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH] f2fs: prevent possible int overflow in
dir_block_index()
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@...nel.org>:
On Wed, 24 Jul 2024 10:05:44 -0700 you wrote:
> The result of multiplication between values derived from functions
> dir_buckets() and bucket_blocks() *could* technically reach
> 2^30 * 2^2 = 2^32.
>
> While unlikely to happen, it is prudent to ensure that it will not
> lead to integer overflow. Thus, use mul_u32_u32() as it's more
> appropriate to mitigate the issue.
>
> [...]
Here is the summary with links:
- [f2fs-dev] f2fs: prevent possible int overflow in dir_block_index()
https://git.kernel.org/jaegeuk/f2fs/c/47f268f33dff
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists