Thread (3 messages) 3 messages, 3 authors, 2022-03-17

Re: [PATCH] hamradio: Fix wrong assignment of 'bbc->cfg.loopback'

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-03-17 02:30:22
Also in: linux-hams, lkml

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski [off-list ref]:

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

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