[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAM9d7cgX4v+sBnpd3r1h+MO-U5mNYsAg7JN_O56h=sjjZPhy9g@mail.gmail.com>
Date: Fri, 19 Jun 2020 22:12:56 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: gaurav singh <gaurav1086@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Tommi Rantala <tommi.t.rantala@...ia.com>,
Thomas Gleixner <tglx@...utronix.de>,
"open list:PERFORMANCE EVENTS SUBSYSTEM"
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [perf] Fix null pointer deference in nest_epollfd
On Fri, Jun 19, 2020 at 6:28 AM gaurav singh <gaurav1086@...il.com> wrote:
>
> multiqu is a static bool which is never assigned and nested is a static int (=0)
It's set by command line option (-m).
Thanks
Namhyung
> and only assigned in nest_epollfd(). Hence,
>
> if (nested)
> nest_epollfd(NULL);
>
> probably never gets executed.
Powered by blists - more mailing lists