Re: warnings in current tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
Date: Tue, 21 Apr 2009 12:54:06 +0200

> Hi David!
> 
> David Miller wrote:
>> From: David Miller <davem@xxxxxxxxxxxxx>
>> Date: Tue, 21 Apr 2009 01:43:57 -0700 (PDT)
>> 
>> Sorry, duh, meant netfilter-devel :-)
>> 
>>> Can someone fix these up?  Thanks!
>>>
>>> net/netfilter/nf_conntrack_netlink.c:1234: warning: 'helpname' may be used uninitialized in this function
>>> net/netfilter/nf_conntrack_netlink.c:991: warning: 'helpname' may be used uninitialized in this function
> 
> Hm, weird, is this a "bogus punch"? I don't remember to have seen those
> here and that code has not been modified recently.
> 
> Anyway, patch attached :).

Applied, thanks :-)

The problem is when you pass the address of a local variable
to a function, which is then inlined and has non-trivial
control flow (as far as GCC is concerned), and this is the
way the variable is initialized.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux