Thread (3 messages) flat view 3 messages, 3 authors, 2021-06-07

Re: [PATCH net] ethtool: Fix NULL pointer dereference during module EEPROM dump

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-06-07 20:20:05

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Sun,  6 Jun 2021 17:24:22 +0300 you wrote:
From: Ido Schimmel <idosch@nvidia.com>

When get_module_eeprom_by_page() is not implemented by the driver, NULL
pointer dereference can occur [1].

Fix by testing if get_module_eeprom_by_page() is implemented instead of
get_module_info().

[...]
Here is the summary with links:
  - [net] ethtool: Fix NULL pointer dereference during module EEPROM dump
    https://git.kernel.org/netdev/net/c/51c96a561f24

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help