Re: variable used before it is set

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

 



From: "d binderman" <[email protected]>
Date: Tue, 28 Jun 2005 09:16:56 +0000

> net/bridge/netfilter/ebt_log.c(91): remark #592: variable "u" is used before 
> its value is set
>         printk(" IP tos=0x%02X, IP proto=%d", u.iph.tos,
>                                               ^
> I agree with the compiler. Suggest code rework.

I added this bug, I'll fix it.  It should use iph->tos
instead, and the entire 'u' array on the local stack
removed since there are then no more users of it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux