Re: [PATCH] be2net: Fix buffer overflow in be_get_module_eeprom

From: patchwork-bot+netdevbpf
Date: Tue Jul 19 2022 - 06:20:20 EST


Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Sat, 16 Jul 2022 11:51:34 +0300 you wrote:
> be_cmd_read_port_transceiver_data assumes that it is given a buffer that
> is at least PAGE_DATA_LEN long, or twice that if the module supports SFF
> 8472. However, this is not always the case.
>
> Fix this by passing the desired offset and length to
> be_cmd_read_port_transceiver_data so that we only copy the bytes once.
>
> [...]

Here is the summary with links:
- be2net: Fix buffer overflow in be_get_module_eeprom
https://git.kernel.org/netdev/net/c/d7241f679a59

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