Re: [PATCH v2 0/2] Bluetooth: hci_core: Refactor hci_get_dev_list() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Sat, 18 May 2024 10:30:37 +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 hci_dev_list_req" and this
> structure ends in a flexible array:
> 
> struct hci_dev_list_req {
> 	[...]
> 	struct hci_dev_req dev_req[];	/* hci_dev_req structures */
> };
> 
> [...]

Here is the summary with links:
  - [v2,1/2] Bluetooth: hci_core: Prefer struct_size over open coded arithmetic
    https://git.kernel.org/bluetooth/bluetooth-next/c/d2526ccaab74
  - [v2,2/2] Bluetooth: hci_core: Prefer array indexing over pointer arithmetic
    https://git.kernel.org/bluetooth/bluetooth-next/c/68b1e55bdf24

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux