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 7C7B4C433E0 for ; Thu, 11 Jun 2020 14:56:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 600C62075E for ; Thu, 11 Jun 2020 14:56:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728411AbgFKO4e (ORCPT ); Thu, 11 Jun 2020 10:56:34 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5819 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728382AbgFKO4d (ORCPT ); Thu, 11 Jun 2020 10:56:33 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B921F8C62A168E5065F7; Thu, 11 Jun 2020 22:56:30 +0800 (CST) Received: from euler.huawei.com (10.175.124.27) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Thu, 11 Jun 2020 22:56:23 +0800 From: Chen Wandun To: , CC: , , , , Subject: [PATCH next v2 0/2] fix potential memleak in perf events parser Date: Thu, 11 Jun 2020 22:56:03 +0800 Message-ID: <20200611145605.21427-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 for parse_events_term__sym_hw and parse_events_term__clone. v1 ==> v2 1. split into two patches 2. add jump targets common exception handling 3. add Fixes tag 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