Re: [PATCH] perf tools: Check for null when copying nsinfo.

2018-08-10 Thread Benno Evers
Haha, sorry, I was following some "how-to-contribute" guide out there, but it seems like I missed a step :D I sent out a new version with the missing sign-off. On 10.08.2018 15:18, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 10, 2018 at 01:55:37PM +0900, Namhyung Kim escreveu: Hello, On Thu

Re: [PATCH] perf tools: Check for null when copying nsinfo.

2018-08-10 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 10, 2018 at 01:55:37PM +0900, Namhyung Kim escreveu: > Hello, > > On Thu, Aug 09, 2018 at 11:53:48PM +0200, Benno Evers wrote: > > The argument to nsinfo__copy() was assumed to be valid, but some code paths > > exist that will lead to NULL being passed. > > > > In particular, running

Re: [PATCH] perf tools: Check for null when copying nsinfo.

2018-08-09 Thread Namhyung Kim
Hello, On Thu, Aug 09, 2018 at 11:53:48PM +0200, Benno Evers wrote: > The argument to nsinfo__copy() was assumed to be valid, but some code paths > exist that will lead to NULL being passed. > > In particular, running 'perf script -D' on a perf.data file containing an > PERF_RECORD_MMAP event ass

[PATCH] perf tools: Check for null when copying nsinfo.

2018-08-09 Thread Benno Evers
The argument to nsinfo__copy() was assumed to be valid, but some code paths exist that will lead to NULL being passed. In particular, running 'perf script -D' on a perf.data file containing an PERF_RECORD_MMAP event associating the '[vdso]' dso with pid 0 earlier in the event stream will lead to a