Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758185AbbLCDId (ORCPT ); Wed, 2 Dec 2015 22:08:33 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:24151 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758028AbbLCDIc (ORCPT ); Wed, 2 Dec 2015 22:08:32 -0500 From: Wang Nan To: , , CC: , , , Wang Nan Subject: [PATCH v2 0/3] perf hists browser: Avoid crash in some unusal operations Date: Thu, 3 Dec 2015 03:08:12 +0000 Message-ID: <1449112095-238769-1-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.3.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.193.248] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.565FB22D.0074,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: cc8cdf8cc2a36c5d93a3be4a9fd058ce Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 738 Lines: 22 When using symbol filter in hists browser, some unusal operations causes segfault. This patchset avoid those crashes. Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim Wang Nan (3): perf hists browser: Fix segfault if use symbol filter in cmdline perf hists browser: Add NULL pointer check to prevent crash perf hists browser: Reset selection when refresh tools/perf/ui/browsers/hists.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 1.8.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/