Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1362256ybg; Thu, 11 Jun 2020 07:58:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhlFYDm04/4Yv2qupsiSbvdhbrOf71C/Z1KYRZsgjeyoUgUjWOt53+qIBRaXpBcPgwdhhz X-Received: by 2002:a17:906:8294:: with SMTP id h20mr8303538ejx.17.1591887539714; Thu, 11 Jun 2020 07:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591887539; cv=none; d=google.com; s=arc-20160816; b=s1WEV0q9FeZLkiANSGkLDLvmRn3UL+oh+npqRWrukj7YG/jvJmcE33jMrufY+RZ1l/ Ss+ZzZ01c6lDC3fVkpMVUV5WfrQQ+Q5WPInXWqNf83s8GoXIPe1Ax4+YoGS0DdH2uxIo E8zrwaHNddJ7Y49DmLCJQRJL4YgsnmwWyZQrRgYl/R1Dm6THVsjdlWiu/7KX7QfKClPP ZBf0qkxm/HXs/QsHGq5peUzw2T7szKSZvLzz8+KKmh9f7kulrd1f1prwxVqxuQjVowDM h2hZf/ZiX0WurbkXVuJCVeapHzmUGdE4BOupfsB2HArT+duxtjItClef4NahoxERRjmj pxTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=3aGnpulHcuMl65wyQJQrG6vUrC8kkLQ9/iip2pe4Bd4=; b=HO7FxbS6sD+NJo9G+E1DKhsId9HN7GACFR7eitMhfz4oDMLQ/HpG3mTAR7CI+lMt4F kEiDHILt+DEjLtiDpe4WyZ/VnfgyIgZLcfCE7Ur1U7zcH2A+94F31s4ASCkfoEm+XhLp 4cyO9XNDl5MFVvzj5tXV7fNjSIOC+6e7hsAaYMptRcT9pbKbgICeZMwnhw92Aga+8zB0 z2zvYeLAEJyzSf76xQp1hQa9NTCiUjSH79bDRUpM8RiGMR2ndQcnzNn+jFlOslbiA7AJ fI21+4hk5beCpBl5ArRCGCroWSFs/qTEOkm7QGTtvXLmxbMh8PEov2rEYpsSGCkOXwTO RvaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si1742984ejr.322.2020.06.11.07.58.36; Thu, 11 Jun 2020 07:58:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728406AbgFKO4e (ORCPT + 99 others); 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