Hello: This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>: On Mon, 1 Jul 2024 16:44:01 +0300 you wrote: > The opt variable is checked for NULL at the beginning of > the function. It is necessary to add a check to prevent null > pointer dereferencing. > > Found with the SVACE static analysis tool. > --- > src/shared/shell.c | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) Here is the summary with links: - [BlueZ,v1] shared/shell: add a check for NULL in bt_shell_init() https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=55f561a9cd0b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html