linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: leslie.polzer@gmx.net
To: Glynn Clements <glynn@gclements.plus.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Handling ioctl() argp memory
Date: Mon, 5 Mar 2007 06:23:55 +0100	[thread overview]
Message-ID: <20070305052355.GA13946@wintermute.farpoint> (raw)
In-Reply-To: <17899.30813.80673.270405@cerise.gclements.plus.com>

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

On Mon, Mar 05, 2007 at 01:54:37AM +0000, Glynn Clements wrote:

> You're probably overwriting the beginning of the allocated block.
What do you mean by that?  I can surely write to allocated memory, at
the start, end and any point between...

Besides, for the record: a short Valgrind run (thanks for the reminder!)
showed me that I calculated the space wrongly, i.e. I allocated not
enough memory.

  Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83
http://nic-nac-project.de/~skypher/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-03-05  5:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 16:48 Handling ioctl() argp memory leslie.polzer
2007-03-04 16:52 ` Markus Rechberger
2007-03-04 17:04   ` leslie.polzer
2007-03-04 18:21     ` Markus Rechberger
2007-03-05  1:54 ` Glynn Clements
2007-03-05  5:23   ` leslie.polzer [this message]
2007-03-05  6:26     ` Glynn Clements
2007-03-05 10:49     ` Markus Rechberger

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=20070305052355.GA13946@wintermute.farpoint \
    --to=leslie.polzer@gmx.net \
    --cc=glynn@gclements.plus.com \
    --cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).