Re: [PATCH] hamradio: Fix wrong assignment of 'bbc->cfg.loopback'
From: patchwork-bot+netdevbpf
Date: Wed Mar 16 2022 - 22:30:21 EST
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 15 Mar 2022 15:48:51 +0800 you wrote:
> In file hamradio/baycom_epp.c, the baycom_setmode interface, there
> is a problem with improper use of strstr.
>
> Suppose that when modestr="noloopback", both conditions which are
> 'strstr(modestr,"noloopback")' and 'strstr(modestr,"loopback")'
> will be true(not NULL), this lead the bc->cfg.loopback variable
> will be first assigned to 0, and then reassigned to 1.
>
> [...]
Here is the summary with links:
- hamradio: Fix wrong assignment of 'bbc->cfg.loopback'
https://git.kernel.org/netdev/net-next/c/a8df216630fe
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html