From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05A90C433E0 for ; Mon, 15 Jun 2020 01:39:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFA7720714 for ; Mon, 15 Jun 2020 01:39:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728122AbgFOBjU (ORCPT ); Sun, 14 Jun 2020 21:39:20 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5824 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728032AbgFOBjU (ORCPT ); Sun, 14 Jun 2020 21:39:20 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D1758B1C8911F3FE206B; Mon, 15 Jun 2020 09:36:35 +0800 (CST) Received: from euler.huawei.com (10.175.124.27) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Mon, 15 Jun 2020 09:36:29 +0800 From: Chen Wandun To: , CC: , , , , Subject: [PATCH next v3 0/2] fix potential memleak in perf events parser Date: Mon, 15 Jun 2020 09:36:12 +0800 Message-ID: <20200615013614.8646-1-chenwandun@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.124.27] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix some memleaks in parse_events_term__sym_hw and parse_events_term__clone. ls/perf v1 ==> v2 1. split into two patches 2. add jump targets common exception handling 3. add Fixes tag v2 ==> v3 add more commit log. Chen Wandun (1): perf tools: fix potential memleak in perf events parser Cheng Jian (1): perf tools: fix potential memleak in perf events parser tools/perf/util/parse-events.c | 51 ++++++++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 8 deletions(-) -- 2.17.1