lkml.org 
[lkml]   [2017]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@kernel.org> wrote:

> On Fri, Feb 3, 2017 at 10:40 PM, Steven Rostedt <rostedt@goodmis.org> wrote:
> > From: "Steven Rostedt (VMware)" <rostedt@goodmis.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

\
 
 \ /
  Last update: 2017-02-03 15:59    [W:0.043 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site