Messages in this thread | | | Date | Fri, 3 Feb 2017 09:57:50 -0500 | From | Steven Rostedt <> | 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@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
| |