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
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120614083057.GA29738@canuck.infradead.org>
Date:	Thu, 14 Jun 2012 04:30:57 -0400
From:	Thomas Graf <tgraf@...g.ch>
To:	wfg@...ux.intel.com
Cc:	netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>
Subject: Re: include/net/netlink.h:497:41: warning: ‘reply_nlh’ may be used uninitialized in this function
 [-Wuninitialized]

On Thu, Jun 14, 2012 at 10:07:08AM +0800, wfg@...ux.intel.com wrote:
> FYI: there are new compile warnings show up in
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> head:   0450243096de90ff51c3a6c605410c5e28d79f8d
> commit: 33a03aadb52fa05d28aba6d8f0c03c7b3b905897 [464/472] dcbnl: Prepare framework to shorten handling functions
> config: x86_64-randconfig-net3 (attached as .config)
> 
> All related error/warning messages are:
> 
> net/dcb/dcbnl.c: In function ‘dcb_doit’:
> include/net/netlink.h:497:41: warning: ‘reply_nlh’ may be used uninitialized in this function [-Wuninitialized]
> net/dcb/dcbnl.c:1975:19: note: ‘reply_nlh’ was declared here

gcc 4.6.3 on my system doesn't complain about this. I'm sending a patch.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ