From: Al Viro <viro@ftp.linux.org.uk>
To: Roel Kluin <12o3l@tiscali.nl>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] fix writing to unintended memory in eth16i_probe_port(); drivers/net/eth16i.c
Date: Tue, 6 Nov 2007 23:00:26 +0000 [thread overview]
Message-ID: <20071106230026.GL8181@ftp.linux.org.uk> (raw)
In-Reply-To: <4730F168.4010203@tiscali.nl>
On Tue, Nov 06, 2007 at 11:57:44PM +0100, Roel Kluin wrote:
> 14 is added as an offset to the array dummy_packet (64 unsigned chars) to
> serve as a destination address in a call to memset(). However, when added,
> it is automatically scaled by the size of dummy_packet, which is 64. This
> results in writing to unintended memory.
NAK. Learn C.
next prev parent reply other threads:[~2007-11-06 23:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-06 22:57 [PATCH] fix writing to unintended memory in eth16i_probe_port(); drivers/net/eth16i.c Roel Kluin
2007-11-06 23:00 ` Al Viro [this message]
2007-11-06 23:16 ` Roel Kluin
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=20071106230026.GL8181@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=12o3l@tiscali.nl \
--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