From patchwork Thu Mar 16 19:41:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 6776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp686162wrt; Thu, 16 Mar 2023 13:22:05 -0700 (PDT) X-Google-Smtp-Source: AK7set/ESPil/8KclqnoZTnpBJzi9NzYGEISpKseQ1a3Rt0RRKYEFHPKGPRVfyOXDVxPhgl7bd31 X-Received: by 2002:a17:90b:3b4e:b0:23b:4c0a:edb1 with SMTP id ot14-20020a17090b3b4e00b0023b4c0aedb1mr5512511pjb.15.1678998125394; Thu, 16 Mar 2023 13:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678998125; cv=none; d=google.com; s=arc-20160816; b=a0/M1VllMzaHC812ohLxl8mmXgC7BHJDyWwDiClD62gqlVgzusMQGHx2jVh6XVQgRh F50P6ZBwGgO3JWtmJ1kc/D2GdEZvIQtRCNKHPkB4hhpksZ2sIC6jpsKloziZldQ77Bni +nSfPJim9VyZoLu1YSvqeWNcalSdZ2FTcf7C043RP5r9IfZy73BlTRzqq/mxlovqwlfR u+5913NuNMAOp1xmtwjVU0wXZWjGRGyff5lsEAD5WHimQJl49TTaGoEdgFh1HY+2p5QO E61Xt1TAxaxOvRhLFE1rBWwLxOeDak8rEh3uLdqsIKmJBlFEPTRizH/fcPvGw6k3fM0v zwjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=CZvLdBaXxT5LRUh5WHVKJ/OyII8cK5V44SIRK7G1BWQ=; b=Rr0Qxyklj740d8w7PSQWepJwQbIRUW/F2cPlxA3XzMh2Iw3lOWwyKoZLMYyDQ1TGH7 kkW3BYdJBFNd78ipa2BZgOZ36cLpbiErS/DR/p34g7GUEQmXFtJaNVcJL1R3gSRqeBCg iJzbbHucpm5HVPToIFlM+D8Ku+PDjq4AxmCViyonOPlSkxZeDaVQ4FhvIrfW0GeEFEah g68J2+4AxMytVL2FAExNqGpktE21jwhI4enCl7WSBfiBC8E8f6w2KYo/LGU3dsKorL+K CycGDdekXz4y36eZiioasnASj7oCU4F34YA4ZNmjyJtKQKxfdTvILWOVsLBZ5SD1W9jQ peWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ngc1AisA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o29-20020a635d5d000000b004f24be1c13csi210343pgm.117.2023.03.16.13.21.28; Thu, 16 Mar 2023 13:22:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ngc1AisA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbjCPTmQ (ORCPT + 99 others); Thu, 16 Mar 2023 15:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbjCPTmO (ORCPT ); Thu, 16 Mar 2023 15:42:14 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD45E26854; Thu, 16 Mar 2023 12:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678995733; x=1710531733; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PEHbTAcG8Dy16DzIEQj/RKjzcN4aB46ybFS9r0LuhvU=; b=Ngc1AisAeqvMiU8XmvSl+Oss522X0SND3aJ8hrLv8udEuAENhaGPny1a 8p00nMUmMWJOFdY7r0DpJFHM4nn0SoO0oyfwwNz4QVJw0ukR8nnNwwuU5 yS8xh50+3IuqkCMSlk7B5DC+8XRCmo1JZA3KmfQu9e7VZOm1JuNcFH6bd A1QG88KSr4ubHJOZnxDbBlL2DvMui/I5rpdpDMUKRGjESTnIhxGeblFeG XPPbYcZIDjhHNh09YmRFrlYqjaillTYN67XJ+qsT2J4+VgLpjCFZO1c5a laAE1qAk7qNcFdP7BUTqtHjIGYSUzsf+2m33NNyaLJq8w15/WZl26d0/F Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10651"; a="326465392" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="326465392" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 12:42:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10651"; a="823392384" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="823392384" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO ahunter-VirtualBox.home\044ger.corp.intel.com) ([10.251.221.172]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 12:42:10 -0700 From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Namhyung Kim , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH 0/3] perf tools: Address fixes Date: Thu, 16 Mar 2023 21:41:53 +0200 Message-Id: <20230316194156.8320-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760557138262341738?= X-GMAIL-MSGID: =?utf-8?q?1760557138262341738?= Hi Here are 3 small fixes resulting from a report from a kernel test robot: https://lore.kernel.org/oe-lkp/202303061424.6ad43294-yujie.liu@intel.com Issues were revealed due to the use of build option: EXTRA_CFLAGS="-fsanitize=undefined -fsanitize=address" Adrian Hunter (3): perf symbols: Fix use-after-free in get_plt_got_name() perf symbols: Fix unaligned access in get_x86_64_plt_disp() perf tools: Avoid warning in do_realloc_array_as_needed() tools/perf/util/symbol-elf.c | 10 ++++++++-- tools/perf/util/util.c | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) Regards Adrian Acked-by: Ian Rogers