mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maxin B John <maxin.john@gmail.com>
To: Tejun Heo <tj@kernel.org>
Cc: akpm@linux-foundation.org, segooon@gmail.com, jkosina@suse.cz,
	tglx@linutronix.de, eike-kernel@sf-tec.de,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [RESEND] devres: Fix possible use after free
Date: Wed, 15 Jun 2011 10:59:57 +0100	[thread overview]
Message-ID: <BANLkTimvNoS2ht7vYJn2w6EC9q78TQkhVA@mail.gmail.com> (raw)
In-Reply-To: <20110615081317.GL8141@htj.dyndns.org>

Hi Tejun,

On Wed, Jun 15, 2011 at 9:13 AM, Tejun Heo <tj@kernel.org> wrote:
>
> Yeap, sounds mostly okay but there's no 'possible use after free'.
> Maybe something like, "devres uses the pointer value as key after it's
> freed, which is safe but triggers spurious use-after-free warnings on
> some static analysis tools.  Rearrange code to avoid such warnings".
>
Thanks a lot for this suggestion. I think, this describes the patch in
a much better way.

Warm Regards,
Maxin

  reply	other threads:[~2011-06-15  9:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14  7:07 Maxin B John
2011-06-14  7:15 ` Tejun Heo
2011-06-14 14:09   ` Maxin B John
2011-06-15  8:13     ` Tejun Heo
2011-06-15  9:59       ` Maxin B John [this message]
2011-06-15 10:00       ` Rolf Eike Beer
2011-06-15 10:12         ` Maxin B John
2011-06-15 17:14 Maxin B John

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=BANLkTimvNoS2ht7vYJn2w6EC9q78TQkhVA@mail.gmail.com \
    --to=maxin.john@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=eike-kernel@sf-tec.de \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=segooon@gmail.com \
    --cc=tglx@linutronix.de \
    --cc=tj@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®