From: Andrew Morton <akpm@osdl.org>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: manfred@colorfullife.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] slab: redzone double-free detection
Date: Thu, 27 Apr 2006 15:39:08 -0700 [thread overview]
Message-ID: <20060427153908.480a89a7.akpm@osdl.org> (raw)
In-Reply-To: <1146160076.11272.5.camel@localhost>
Pekka Enberg <penberg@cs.helsinki.fi> wrote:
>
> From: Pekka Enberg <penberg@cs.helsinki.fi>
>
> This patch adds double-free detection to redzone verification when freeing
> an object. As explained by Manfred, when we are freeing an object, both
> redzones should be RED_ACTIVE. However, if both are RED_INACTIVE, we are
> trying to free an object that was already free'd.
>
> ...
>
> slab.c | 32 +++++++++++++++++++++++---------
Nice, thanks.
prev parent reply other threads:[~2006-04-27 22:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-27 17:47 [PATCH] slab: redzone double-free detection Pekka Enberg
2006-04-27 18:46 ` Manfred Spraul
2006-04-27 22:39 ` Andrew Morton [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=20060427153908.480a89a7.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=penberg@cs.helsinki.fi \
/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