From: James Morris <jmorris@intercode.com.au>
To: Andrew Morton <akpm@digeo.com>
Cc: Ken Ashcraft <kash@stanford.edu>, <linux-kernel@vger.kernel.org>
Subject: Re: [CHECKER] Passing wrong size to memcpy/memset
Date: Thu, 15 May 2003 10:51:57 +1000 (EST) [thread overview]
Message-ID: <Mutt.LNX.4.44.0305151050220.11738-100000@excalibur.intercode.com.au> (raw)
In-Reply-To: <20030514173351.32c3a4c8.akpm@digeo.com>
On Wed, 14 May 2003, Andrew Morton wrote:
> Ken Ashcraft <kash@stanford.edu> wrote:
> >
> > I'm with the Stanford Metacompilation research group and I wrote a checker
> > that looks for places where people use 'sizeof(ptr)' instead of
> > 'sizeof(*ptr)' as the length argument to memcpy/memset.
>
> Well they all look like genuine bugs. It could be that some code is just
> performing overly-paranoid memsets.
>
> I shall submit the below lot unless squeaked at.
No squeaks from me.
Ken, would you please try and Cc: maintainers for future reports?
- James
--
James Morris
<jmorris@intercode.com.au>
prev parent reply other threads:[~2003-05-15 0:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-14 22:28 Ken Ashcraft
2003-05-15 0:33 ` Andrew Morton
2003-05-15 0:51 ` James Morris [this message]
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=Mutt.LNX.4.44.0305151050220.11738-100000@excalibur.intercode.com.au \
--to=jmorris@intercode.com.au \
--cc=akpm@digeo.com \
--cc=kash@stanford.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®