Message ID | 20240925223319.2519606-1-vladimir.mezentsev@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <binutils-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3AC8D3858430 for <patchwork@sourceware.org>; Wed, 25 Sep 2024 22:34:02 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id 00ABC3858D39 for <binutils@sourceware.org>; Wed, 25 Sep 2024 22:33:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 00ABC3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 00ABC3858D39 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1727303616; cv=pass; b=Jn5wPxLUBj60tlzUfmYXPXcyjmO2p2b7Xrx0k+ldJK93y/CXkUS0Ys4Ny40uW9sHjgXWBOZL3OifKh4McBuUDJfN93D9wduKkZkJBXj44kZiO8HfXHtVohauw3aYLPnuqIE7km1CeGmPdLZbZEkzIhywcSe4YsdO2EjrOhI5jo0= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1727303616; c=relaxed/simple; bh=9QyfjFf+d0m2ipS2Ddq9rvUSxvzwE6B3kazA3+nIK9Y=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=uXe14MoPC/KvpO0rgJxWfG7zzPfHybP4ZJVXxn/ftgFZEl5aC9wuiZQ/1HefAUJWlWyLECqe5Kjj23EokChptLhMgIfOm9voZFULfPuAWAc4rXdtfFeTOh8mBbrhWIfvrTpd7z/l533aEKezCJX+m9501vcJ6wtKIqXWWSGcePQ= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48PLnGlI017200 for <binutils@sourceware.org>; Wed, 25 Sep 2024 22:33:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= from:to:cc:subject:date:message-id:content-transfer-encoding :content-type:mime-version; s=corp-2023-11-20; bh=TYQKpavG5diHGI RTWF/dveYxUggYdZh7+zxgseUPIXQ=; b=Df2rwl4YH3clV26Rdin4noSCB2zkRY PDalOXQzvDnFtyVMQOxhB+LyQKzpx5saZo0JFJaWnm2Fen7h0cyusIVnJKpUjgGk segHgVlExcRpOR8h2tMYF3KxfrmILXUS0qsBhkMiqHdOKNnwgDr45py0XiDKaoMU PZ3xLbNCN6EDt0UFLKlMHTj8wezKpQU5DhSV6z+8TJG1GqwZz774/5wjQCHGabPu VTFWmsdeIZmsWLRKgZH1qVtALZPJCquleE2Y89eadEGtoKF8imCs73MN+/3RIl6G Ss6pq1bFGqfpxgTpfb4SQlo7G9RLkhPbtVFC7sXIVG5+I5U0sWx36ruA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 41smx3983v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 25 Sep 2024 22:33:34 +0000 (GMT) Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 48PM5o4b031259 for <binutils@sourceware.org>; Wed, 25 Sep 2024 22:33:33 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2044.outbound.protection.outlook.com [104.47.66.44]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 41tkc7vun6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 25 Sep 2024 22:33:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wAGAEqAV5LGl0BRBoaIw7LH02PdFF/FVq2uNkrj7dELzwnUhXEMHng28yTUf0Pp/FciN29bwfWus3qPrVCltWTCKrT8s5N3tvGgtJgTnkORjqOfsatHdRUfiLuKnAwN1z2pQrWaV19NLTVTukfwxxgzqlrbKXUmZBxiLjCfUxNUtRgtED/suocZPMwgZrCM3N2kHy1yYJ6ZTvGEncfTBGO7aomWwxDW6kASsZXvtDADGNdG05q77wd4cj/+HdDhD+3SrnICNWlarbTeAPGEOooM7r0KXa95TIobQnNEGS79VTNcJPP8qd7SWBmGxp+qeEWHOQcHhyOpEqKWi/U6W/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TYQKpavG5diHGIRTWF/dveYxUggYdZh7+zxgseUPIXQ=; b=JcqEaUMRIZ1f/ONaqaSdVmdY8/Y4y4in4tfJgbS+XUAEF4Nrr8ExvD2LEK7am8GWI28XofaYQ58BXtAA7IZkwfT8AIDxXF35HTLAmL6sKOEzMpc9NzwA3QL2HvrjIOxCrx+TslDZE0u2m6AaFzeDdAwcniGJHynKeQ3LNhS8mj/XHPLkEmmv/Q2jFmrCKo+AADT+5cvjxgbsNZI8ta2wIZJv7kwPNyVYr6xpHBixE7GvLot1yWYa1gdqDWxp9sX6W3OBDL7OVEiYd6XtimAQUHbHkNRD9NvvTz3zrCFuGU8F7sqU2PjG/4wZ9MR4yEqC5AHTajVw2imV2Oc1bpe7jg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TYQKpavG5diHGIRTWF/dveYxUggYdZh7+zxgseUPIXQ=; b=N2G/1JkqF2Eri3xwOzsNx9OmbmuIS59ptFaqQR89GDXUA7HSoO6aQcfrKI1LIWdklw99NXuwFTX18JkLAfqDCXwOWutl8aJzJC+6iSZ8NVzsfzMuy4obEGD4HdngVvWT8Bupx+D5KTd6o/tKfAYklAy3kHR/0SwkoVf2BiEMeQs= Received: from SA2PR10MB4636.namprd10.prod.outlook.com (2603:10b6:806:11e::10) by MN6PR10MB7518.namprd10.prod.outlook.com (2603:10b6:208:47c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.9; Wed, 25 Sep 2024 22:33:29 +0000 Received: from SA2PR10MB4636.namprd10.prod.outlook.com ([fe80::1b3d:bd64:9100:c3fb]) by SA2PR10MB4636.namprd10.prod.outlook.com ([fe80::1b3d:bd64:9100:c3fb%6]) with mapi id 15.20.8005.010; Wed, 25 Sep 2024 22:33:29 +0000 From: vladimir.mezentsev@oracle.com To: binutils@sourceware.org Cc: Vladimir Mezentsev <vladimir.mezentsev@oracle.com> Subject: [PATCH] Fix 32207 [gprofng collect app] Error in parsing the -O option Date: Wed, 25 Sep 2024 15:33:19 -0700 Message-ID: <20240925223319.2519606-1-vladimir.mezentsev@oracle.com> X-Mailer: git-send-email 2.43.5 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BLAPR03CA0054.namprd03.prod.outlook.com (2603:10b6:208:32d::29) To SA2PR10MB4636.namprd10.prod.outlook.com (2603:10b6:806:11e::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA2PR10MB4636:EE_|MN6PR10MB7518:EE_ X-MS-Office365-Filtering-Correlation-Id: 1640cc9f-8d4e-410e-6b55-08dcddb21468 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|10070799003|366016; X-Microsoft-Antispam-Message-Info: dual40c6Cls6jO3w6bUrS1A76iSxfjo3w4hJVv/ELoksEJrdun3IxxjG5NVvA5o6BJvBPfVJY+2AEneqZfkN0hwaFXcj5xlJ+Cy9pRWGwZCMruadQKQKLAkzPg+9fu2wGs8/+umCqLLDWL0efBBc+LdSBY/TCbepwDgeUkYxN4DGck8044BBJBo46wng5TmSM26uJU5P01PTIST9OOKyrZ7mw8vWmjkUAwjTTPpz3FT8EZHCZxObDa66IRZinFR0Kall2uX74MkDcVHvn42tkO0mIibsdprJB97vgiqv2BTxJyaQ2+Tn04pd8W4bnzl1300KuJcvbI4FzvdM4qbLtj471eB6l/njgLmmIxo8BsabLOxgiS/J7zPTP5Lf6jvStDqK3aIP3K7wNSBEtepfQ2Js/h2+nRxnF4Unzu/knAHIToByUrcD0eNfe1Me4RNM2InHOkxcZq3Su+Iwap2ikPFow61y+bB3YVwyLYpEKOohx8FKnXQ53oF9zN9430CufPpqwqOQ9L1swazkAA+VGY+egWscj+RjymfetOu7BWnTHCln6dIwHxhob/72pcnpgbI+c+XblyqBq8rDHrbMUk/6zZiM8grPdF/R9E+rlc42ohOze8aaRDnTv9bDpo8HB9+tKIUt5OncDejGFNKtmPrt2BqCJE/XsF8ZcWKQ5+CVpdhT9Tyz2dd+fzJ7oFoJc7mRPrxWhrViHa6UZzvcr7a6nZENkoC5tdA5Da3UOomhsw8vKCxgnNxlWWUhiO99cPXeXraF7v7U1OIwNcAABBadO1Z9c6nuo79JqIRKqPyYsTD126VkLhy8dQaxFonWTUJwWCpu8leGy3MvhiDXAn0iq4OR+VLV4AwgO6BQIMOAb804tFsbbqlxz6lx8DQaI3xYG9Guw7VUn4jkdugEtNDiBMnb3g4dzHQVVMuoDd4cZYdZqFhQwoPy39IkK6sNQKnrIe1BVUjCYI3yVDav4IwXX2zSN/652Fa6ugR3q/ywRxauzWLn5U5GOreJEIX3gbrEBab1kBBROeHLsOA0SlsVFPBVhXcCp7SK2LhObKqwy3kw7w6ICemjU9m9Sbj28fwRZ7czzM8anqoegKfbsCUdebH7HoGRSY3oVpz+tjYEZHHgmLVQTqGowYapF43M19QH1TVhR7XNm4VQZzjafaZGGD4GPO4LTSj78i5WFcPwDOkU14a9P9TjXrf1S3iGex/dFstc04AEUpWVk6o0BpRVWgUVHRyc6BV/YlytSofSUBNKCvhxjcbZV5MXj1vM9BE1ghD6NceYs8rfsCXDucCKyYamb9zLJRpFb+uVPS4jxTHlzIWAOhIfUhOezazwL2OWN7OI2tRMnDW0oIAYNg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4636.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(10070799003)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lkX3BvrrHkoqaEKrkY0YWVt3RR4ENvQfdxAa9hAYc0pMYi9Smjm3mXbYQ0GDjtZaLMGXEUlly/HQ6pvcSkqJL71abszVxhDSaIbNqV7f7Wq+n3hqZTBuQWmOHJ9Rg5K4SwM5Uok05PaP+JmjPFveAGW9ewWRDSdBOgQsJODX7tccxs/8CK0/lzPygqNAGgCiKnBe86xYrfFfbrWF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riginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1640cc9f-8d4e-410e-6b55-08dcddb21468 X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4636.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2024 22:33:29.7414 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SCqeGJntkludvW1KQGJEgsW9sD3dP3Zme+Cnwm/PGbFYm9CPWsmi6bVC1ziTU2Xha28NMC0sYJldzuzKnLjTmB4FRd+eSgHzLESHcM575EY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR10MB7518 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-25_14,2024-09-25_02,2024-09-02_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2408220000 definitions=main-2409250159 X-Proofpoint-ORIG-GUID: 3FZ2CfZOlMz_c8tb1QVwAJ1OC_oU4_7D X-Proofpoint-GUID: 3FZ2CfZOlMz_c8tb1QVwAJ1OC_oU4_7D X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org |
Series |
Fix 32207 [gprofng collect app] Error in parsing the -O option
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_binutils_build--master-arm | success | Build passed |
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 | success | Build passed |
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 | success | Test passed |
linaro-tcwg-bot/tcwg_binutils_check--master-arm | success | Test passed |
Commit Message
Vladimir Mezentsev
Sept. 25, 2024, 10:33 p.m. UTC
From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
gprofng/ChangeLog
2024-09-25 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
PR 32207
* src/collctrl.cc (preprocess_names): Fix the size in strndup.
---
gprofng/src/collctrl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gprofng/src/collctrl.cc b/gprofng/src/collctrl.cc index d341cb00fca..2fa9a883147 100644 --- a/gprofng/src/collctrl.cc +++ b/gprofng/src/collctrl.cc @@ -2422,7 +2422,7 @@ Coll_Ctrl::preprocess_names () } else { - expt_dir = dbe_strndup (expt_name, s - expt_name - 1); + expt_dir = dbe_strndup (expt_name, s - expt_name); base_name = strdup (s + 1); }