[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171623463053.16907.1385568021076575698.git-patchwork-notify@kernel.org>
Date: Mon, 20 May 2024 19:50:30 +0000
From: patchwork-bot+bluetooth@...nel.org
To: Erick Archer <erick.archer@...look.com>
Cc: marcel@...tmann.org, johan.hedberg@...il.com, luiz.dentz@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
keescook@...omium.org, gustavoars@...nel.org, nathan@...nel.org,
ndesaulniers@...gle.com, morbo@...gle.com, justinstitt@...gle.com,
jirislaby@...nel.org, gregkh@...uxfoundation.org, geert@...ux-m68k.org,
linux-bluetooth@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH v3 0/2] tty: rfcomm: refactor rfcomm_get_dev_list() function
Hello:
This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@...el.com>:
On Fri, 17 May 2024 19:21:48 +0200 you wrote:
> This is an effort to get rid of all multiplications from allocation
> functions in order to prevent integer overflows [1][2].
>
> As the "dl" variable is a pointer to "struct rfcomm_dev_list_req" and
> this structure ends in a flexible array:
>
> struct rfcomm_dev_list_req {
> [...]
> struct rfcomm_dev_info dev_info[];
> };
>
> [...]
Here is the summary with links:
- [v3,1/2] tty: rfcomm: prefer struct_size over open coded arithmetic
https://git.kernel.org/bluetooth/bluetooth-next/c/b7a6ed60e5e6
- [v3,2/2] tty: rfcomm: prefer array indexing over pointer arithmetic
https://git.kernel.org/bluetooth/bluetooth-next/c/7b13a745870c
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