[lkml]   [2003]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [CHECKER] Passing wrong size to memcpy/memset
On Wed, 14 May 2003, Andrew Morton wrote:

> Ken Ashcraft <> 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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [W:0.034 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site