All of lore.kernel.org
 help / color / mirror / Atom feed
From: daw@cs.berkeley.edu (David Wagner)
To: linux-kernel@vger.kernel.org
Subject: Re: [Patch] net: fix an array index overflow
Date: Tue, 1 Dec 2009 16:05:54 +0000 (UTC)	[thread overview]
Message-ID: <hf3et2$2da$1@taverner.cs.berkeley.edu> (raw)
In-Reply-To: 20091201082901.4678.16688.sendpatchset@localhost.localdomain

Amerigo Wang  wrote:
> Don't use the address of an out-of-boundary element.

Why not?  There is nothing wrong with using a pointer to an element
one-past-the-end in this way.  It's idiomatic C.

  parent reply	other threads:[~2009-12-01 16:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01  8:26 [Patch] net: fix an array index overflow Amerigo Wang
2009-12-01  8:48 ` Eric Dumazet
2009-12-01  8:56   ` Cong Wang
2009-12-01 16:05 ` David Wagner [this message]
2009-12-02 13:24 ` Dan Carpenter
2009-12-03  8:30   ` Cong Wang

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='hf3et2$2da$1@taverner.cs.berkeley.edu' \
    --to=daw@cs.berkeley.edu \
    --cc=daw-news@taverner.cs.berkeley.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.