Re: [PATCH 1/4] perf intel-pt: fix potential NULL pointer dereference in intel_pt_process_auxtrace_info

2018-11-21 Thread Adrian Hunter
On 21/11/18 9:40 AM, Wen Yang wrote: > This patch fixes a possible null pointer dereference in > intel_pt_process_auxtrace_info, detected by the semantic patch > deref_null.cocci, with the following warning: > > ./tools/perf/util/intel-pt.c:2579:32-49: ERROR: session -> itrace_synth_opts > is

Re: [PATCH 1/4] perf intel-pt: fix potential NULL pointer dereference in intel_pt_process_auxtrace_info

2018-11-21 Thread Adrian Hunter
On 21/11/18 9:40 AM, Wen Yang wrote: > This patch fixes a possible null pointer dereference in > intel_pt_process_auxtrace_info, detected by the semantic patch > deref_null.cocci, with the following warning: > > ./tools/perf/util/intel-pt.c:2579:32-49: ERROR: session -> itrace_synth_opts > is

[PATCH 1/4] perf intel-pt: fix potential NULL pointer dereference in intel_pt_process_auxtrace_info

2018-11-20 Thread Wen Yang
This patch fixes a possible null pointer dereference in intel_pt_process_auxtrace_info, detected by the semantic patch deref_null.cocci, with the following warning: ./tools/perf/util/intel-pt.c:2579:32-49: ERROR: session -> itrace_synth_opts is NULL but dereferenced. Signed-off-by: Wen Yang

[PATCH 1/4] perf intel-pt: fix potential NULL pointer dereference in intel_pt_process_auxtrace_info

2018-11-20 Thread Wen Yang
This patch fixes a possible null pointer dereference in intel_pt_process_auxtrace_info, detected by the semantic patch deref_null.cocci, with the following warning: ./tools/perf/util/intel-pt.c:2579:32-49: ERROR: session -> itrace_synth_opts is NULL but dereferenced. Signed-off-by: Wen Yang