netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: arnaldo.melo@gmail.com
Cc: paul.moore@hp.com, netdev@vger.kernel.org
Subject: Re: [PATCH] INET: fix incorrect "inet_sock->is_icsk" assignment
Date: Thu, 04 Jan 2007 21:42:04 -0800 (PST)	[thread overview]
Message-ID: <20070104.214204.55835976.davem@davemloft.net> (raw)
In-Reply-To: <39e6f6c70701041832u6e1d8c86w4728ac605f7449e3@mail.gmail.com>

From: "Arnaldo Carvalho de Melo" <arnaldo.melo@gmail.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 :-)

  reply	other threads:[~2007-01-05  5:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070104200430.149943972@hp.com>
2007-01-04 20:04 ` [PATCH] INET: fix incorrect "inet_sock->is_icsk" assignment Paul Moore
2007-01-05  0:57   ` David Miller
2007-01-05  2:32     ` Arnaldo Carvalho de Melo
2007-01-05  5:42       ` David Miller [this message]
2007-01-08 13:25   ` Jarek Poplawski
2007-01-08 14:47     ` Paul Moore
2007-01-09  8:43       ` Jarek Poplawski
2007-01-09 14:26         ` Paul Moore
2007-01-09 14:52           ` Arnaldo Carvalho de Melo
2007-01-10 10:01           ` Jarek Poplawski
2007-01-10 13:13             ` Paul Moore
2007-01-10 13:31               ` Jarek Poplawski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070104.214204.55835976.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=arnaldo.melo@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=paul.moore@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).