[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070104.214204.55835976.davem@davemloft.net>
Date: Thu, 04 Jan 2007 21:42:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: arnaldo.melo@...il.com
Cc: paul.moore@...com, netdev@...r.kernel.org
Subject: Re: [PATCH] INET: fix incorrect "inet_sock->is_icsk" assignment
From: "Arnaldo Carvalho de Melo" <arnaldo.melo@...il.com>
Date: Fri, 5 Jan 2007 00:32:31 -0200
> I expected a warning since the and operation clearly could yield a
> value that would overflow, just like in the constant case...
It sounds stupid, but once you introduce variables and not
everything is constance, GCC currently can't make the analysis.
It's an interesting class of bugs to detect automatically, for
sure :-)
-
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