[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170203095750.3e70e816@gandalf.local.home>
Date: Fri, 3 Feb 2017 09:57:50 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Namhyung Kim <namhyung@...nel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [for-next][PATCH 4/8] ftrace: Reset fgd->hash in
ftrace_graph_write()
On Fri, 3 Feb 2017 23:49:38 +0900
Namhyung Kim <namhyung@...nel.org> wrote:
> On Fri, Feb 3, 2017 at 10:40 PM, Steven Rostedt <rostedt@...dmis.org> wrote:
> > From: "Steven Rostedt (VMware)" <rostedt@...dmis.org>
> >
> > fgd->hash is saved and then freed, but is never reset to either
> > ftrace_graph_hash nor ftrace_graph_notrace_hash. But if multiple reads are
> > performed, then the freed hash could be accessed again.
>
> Argh, right. Btw did you mean multiple "write" not "read", no?
>
Argh, right! or "write" I mean.
;-)
-- Steve
Powered by blists - more mailing lists