Re: [PATCH] [perf] Fix null pointer deference in nest_epollfd
From: Namhyung Kim
Date: Fri Jun 19 2020 - 09:13:13 EST
On Fri, Jun 19, 2020 at 6:28 AM gaurav singh <gaurav1086@xxxxxxxxx> 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.