Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755120AbbLGCgK (ORCPT ); Sun, 6 Dec 2015 21:36:10 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:35664 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754840AbbLGCgI (ORCPT ); Sun, 6 Dec 2015 21:36:08 -0500 From: Wang Nan To: , , CC: , , , Wang Nan Subject: [PATCH v3 0/3] perf hists browser: Avoid crash in some unusal operations Date: Mon, 7 Dec 2015 02:35:43 +0000 Message-ID: <1449455746-41952-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.0A020203.5664F093.008F,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: ce186eaaeed7e98545a205732b2fe700 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 848 Lines: 26 When using symbol filter in hists browser, some unusal operations causes segfault. This patchset avoid those crashes. Compare with v2: Improve coding style, check he_selection in 1/3. Arnaldo: I can't find them in your repository. If you have already picked these patches, please ignore this version. Thank you. 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/