lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20120311.155736.298099455288242780.davem@davemloft.net> Date: Sun, 11 Mar 2012 15:57:36 -0700 (PDT) From: David Miller <davem@...emloft.net> To: lw@...fujitsu.com Cc: dan.carpenter@...cle.com, netdev@...r.kernel.org Subject: Re: [PATCH] IPv6: Fix Smatch warning. From: Li Wei <lw@...fujitsu.com> Date: Thu, 08 Mar 2012 08:58:07 +0800 > > With commit d6ddef9e641d(IPv6: Fix not join all-router mcast group > when forwarding set.) I check 'dev' after it's dereference that > leads to a Smatch complaint: > > net/ipv6/addrconf.c:438 ipv6_add_dev() > warn: variable dereferenced before check 'dev' (see line 432) ... > Remove the check to avoid the complaint as 'dev' can't be NULL. > > Reported-by: Dan Carpenter <dan.carpenter@...cle.com> > Signed-off-by: Li Wei <lw@...fujitsu.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists