From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id B469A7803D0 for ; Wed, 24 Jan 2024 15:36:00 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=UClSLUb9LHLD+0RoYxZUvCckJ76bHxKSFex16Z1xNEk=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:user-agent:Authentication-Results-Original:nodisclaimer:MIME-Version:Original-Authentication-Results:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-ID:Content-Transfer-Encoding; s=20140610; t=1706110559; v=1; b=vC3xyVf/b7bS95P6wp25auOQs02aZenO/umfOJARcr2TtOYFs7i65CaMPL9LmxcF260LBSpl WFGXt6/sAiiqxTIb9q0WjZUYPWaIgWPV+GbBXaXcacbtsGMYYnYhqLmwQ0aWyQ3E26HdGqUUvY6 hbQdhraAva7dIbo4/g4gvDww= X-Received: by 127.0.0.2 with SMTP id XdAKYY7687511xvV9TP57mP3; Wed, 24 Jan 2024 07:35:59 -0800 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.71]) by mx.groups.io with SMTP id smtpd.web10.25710.1706110558044519833 for ; Wed, 24 Jan 2024 07:35:58 -0800 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=g6KOcRBQSwbYEkQPtzF4r7jJXABOFbMO+qcfDlQhIPMouG+d0osgtuKOunrbliwm2wc3Nf8Y4YIrM9VmH+9e2mD/UnaOKu5/iXFhSeZ1xYAD/FcQ5gu8AgQkjy1yECzRbVtPdwiUKPa0+p5aL+1YDMkvnTk1Ux9wnwQYU7ThqIViWEchtZ2JTQdSYnToOXG+TfSDvWTpKwoW/OoPCSonBCTKaryMjlcAemDnIE+8n2YQ5LpbgsZTcI76nXRy6ZOMopB+11tWnY+Rs0fuNhVRmxm+2s9r4d9IEZMpPm/o6j32VM+vvHQyaX85cDQS26ybh9DfsScG6TGMFUU7Q+xRYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=A7reMRHPsxMvj0HHaZGDyA2FMNp7xuaBhwmG71W3TGs=; b=Z2mcJo9mInkxO8dHrfFQ8l7E5cDKVfLKe8H9cDd0/pMmeBWIj79rEDDj2/CZmNSGlpk7gc2oU2dRQmb/IAnBETIpDILhJCjbonLx7RQCRaZ5tpSPZGSMh2V+vytWfbCYEuKOrXZXggoDYIEWoR9ZirqfQd2JNS9caszHlITyYeIH9Wrx6++VHqchMOiKvuPZXcCwFNnsMkwzg+2PbMUDwEAzkBLVjI0s2rG0TVe5a5T+l6Mzx6i4g79DD5BWFNypzNGb0CL8VGqKqmBYH2oVEv/3IlREVxMwxDCNBqVk4hK/sGSKhxOHJEVkWq+IFmW+7Tcr/YJ6WqjZFfxeIVa0/w== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) X-Received: from AM0PR04CA0016.eurprd04.prod.outlook.com (2603:10a6:208:122::29) by PAWPR08MB9855.eurprd08.prod.outlook.com (2603:10a6:102:2ee::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22; Wed, 24 Jan 2024 15:35:48 +0000 X-Received: from AMS0EPF000001B3.eurprd05.prod.outlook.com (2603:10a6:208:122:cafe::b) by AM0PR04CA0016.outlook.office365.com (2603:10a6:208:122::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22 via Frontend Transport; Wed, 24 Jan 2024 15:35:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AMS0EPF000001B3.mail.protection.outlook.com (10.167.16.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.16 via Frontend Transport; Wed, 24 Jan 2024 15:35:47 +0000 X-Received: ("Tessian outbound 31df1b57f90c:v228"); Wed, 24 Jan 2024 15:35:47 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5da5d175419d1236 X-CR-MTA-TID: 64aa7808 X-Received: from ead1b5494254.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AFC4BE19-D217-4C91-A3A5-05807DB9653D.1; Wed, 24 Jan 2024 15:35:41 +0000 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ead1b5494254.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 24 Jan 2024 15:35:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bz12nEmPu/j/MYyhBU7qEftecotW8ou2CLtBZabQKtSivk9aiJpKb/f/pBYEystC+JlUZ0pVohnZf3guKFm4sbRc0DvWm8Lc8Kt0BIq7fo8CZ6pbI7FjidJxPvgfQpGfsVu9coUZrwJlhKrg5f29A582R3Tnzryzg5VSHMFiGgcVaA1Ikmfa3kPO9fhVoIyYAVZvB5WIY9uKR3gm8CW0WanIlzyxryoXB8FN7wGoAErOxJFAxsmdGmaZv0NIhqfOXTQBc2mgPioOjicjYPfSSdqyXFfqF+Qe0BlHx6leD0UPQSDgURDLHudwjxZDYQoaPJVx4YLU3BoEv0rQV+Q83Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=A7reMRHPsxMvj0HHaZGDyA2FMNp7xuaBhwmG71W3TGs=; b=iRcTfgM2WjsEFwbo27QHdzZm+QhlBEAstUyJwNx+7lvKh0Ch4lzjy2uJ95nvx4k+J9n5Oo0VLQTcpN8wI795ugJPG5BBA3O7FURm2h3/j1Z54Y3F+J7287CyGTlzV52sSKSdVows3PE4SSZhpvOE+o21zWAQYhVfjjSguT/UYZkav7TebSE5cgxvtzjOhc6shbLta7zksdcIebrNTH8Y5ri0kCvPbbz2G4YkIweyLgXjz5sZvRkjh1M9SaOOppiQwu/f6+pwr23mbnca2MfBHWtRW6yp0t5tnDyYGX5gZGr56w2kHcehttyvtdwXulfRCKJOerSPgHpEXVGZnGsljQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none X-Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by GV1PR08MB8214.eurprd08.prod.outlook.com (2603:10a6:150:5d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22; Wed, 24 Jan 2024 15:35:35 +0000 X-Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::8912:5ce2:11a4:9d6e]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::8912:5ce2:11a4:9d6e%7]) with mapi id 15.20.7228.022; Wed, 24 Jan 2024 15:35:35 +0000 From: "Sami Mujawar" To: Gerd Hoffmann , "Ni, Ray" CC: "Guo, Gua" , "devel@edk2.groups.io" , Marc Beatove , Ard Biesheuvel , "Mathews, John" , nd Subject: Re: [edk2-devel] [PATCH v3 2/4] StandaloneMmPkg/Hob: Integer Overflow in CreateHob() Thread-Topic: [PATCH v3 2/4] StandaloneMmPkg/Hob: Integer Overflow in CreateHob() Thread-Index: AQHaTtr5zLD6CnIwXEy6litdbdGiXw== Date: Wed, 24 Jan 2024 15:35:35 +0000 Message-ID: <2CCE83C0-A140-43C0-B381-2D0D8EEBC01E@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.81.24011420 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB6806:EE_|GV1PR08MB8214:EE_|AMS0EPF000001B3:EE_|PAWPR08MB9855:EE_ X-MS-Office365-Filtering-Correlation-Id: 0d437984-2de3-487c-f224-08dc1cf22344 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: EUZFsRrKIsU0yzpt3NItQhK6nbvJThfvuLJvTyVw4SdyUHJ3rlnjM7Dblwh2EkMZQTPlm/WftzWqvDJvT4hvCxO1IKkZLka+obRtXqB0/f6jR2UKmnnTLpa4O7KF+QkXLhFieSk1Gx5XnF4JOAj96OvpmlVclAlQc8bIrO4mmajrWUquVAK5HTV4ydBb9O0rigQPMixZSTCmKXUYMI7x7Ox1pc3bfrmJtKBeoW9wh4pPxHVvsS1Aq7H3VLWEbEObGDtGxa1p5/+wpQY2BfVJQnksU5R3CV15q/8DCpkXxJsE6Smhp0L5RCsDnF8eSfEVxYSPpqKih5uJbcsNl+OJz5oOQWeOU9fzp3WW69ElsJYXpDjEKYLrknbiggFr2nR9LANO41gRWy0xs5+0cK1/Z/C9I7QhtZ0T+PmWcXBByQ1KRCIULLDuf9OuBPLJCRp3/QbUJevnnE/Y8ZwemBDD9G5Akl7zKyZKuzH7zVkzyxkhEX4d9KpVxwWgsRVwBwDsbw382WQqsrnDg5P8NvuK/NL7yLJIcZKBTcC6JjyzxaEI6W5bcJt2isC5tjUhUGOIGYQzXt00BhccZFrttUWwg+AbD3KYXbTZgPNpsyVclSsqfsYzsrY1X/GHFHVViinIA1s93fLOYi3g2uaVw9OfOg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR08MB6806.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(6029001)(136003)(366004)(346002)(396003)(376002)(39860400002)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(5660300002)(2906002)(4744005)(38100700002)(36756003)(4326008)(8936002)(8676002)(76116006)(316002)(66556008)(64756008)(66946007)(54906003)(66446008)(110136005)(66476007)(122000001)(41300700001)(86362001)(38070700009)(71200400001)(6506007)(6512007)(6486002)(83380400001)(33656002)(478600001)(26005)(2616005)(45980500001);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8214 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF000001B3.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: b3d1dc5c-0cc8-4464-411c-08dc1cf21bd0 X-Microsoft-Antispam-Message-Info: bUbDvEYPiKwMf/wZNmIjdj4kwRRQFYIxHbesxK/D2VWBHN5xQL09P/TX3xPzgH/fzy2Hq+2ZDZqfW2IpCGWWI+r92MQ86ZzVQvIe5pV/j9fT4kH88srbhiBeLO2DpS3fk4Mggbub8BBUIDY37Yf8VVZm9SEQTvQe5AIFpDqzSu8YejXBAi1s0qbHLoaorbxPSGSDrOlhjc7yjFj8bap0Bm0MylTNsUZLfUHyM6VasuY6rfCg8vh4ao5e+ASd3mDLOqUiHALwPdop7Lb6yuYRnmRVjdZFnNSWN1q0bH1K8040rdq2VbBpUqgx60cl6eLbKLc5ORHVgL7gqQdP+1aDd5Rzwaelf9XNZ+GkPr8aCP101u1Cp0jUwQlRRHgU5tB+hNMRFcRnHWgf2Nje7YBjDaozZwVCc7as4rAkOFBBSFGCNG4K77Ry0H4yPHgntNgCBQvU7msY+mNHfF6JIeAz23e02eKC4ecxs11NO1HG1osXRKibL9oASYwFr9aD+izmjD1JJRxT9rN1b9O5JmUYA/M/Aq0h33OiwrN7jy9TKnQAxClmBiS1l/EfBFyU29Er3rMHW8d4wBHOJF87c+K8WOQKshDNEKnSVvwv04P1IeqkGTXOgd5pdUCkVS7TRD+a7j0yy1ZNyXtKIBXWPQJm42pYswHS7jHNNQ89Ir3szlCAi8NLUciXdpzYU67RyNlLARv1DF2e8I1HIFZ5iBGXlIgftmZMxPqjOzE2uRv4NHF9e8v992qh4FlwkHtBuuqN X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2024 15:35:47.8527 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0d437984-2de3-487c-f224-08dc1cf22344 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AMS0EPF000001B3.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB9855 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,sami.mujawar@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: r7PpRVind1PcYF6hrB5QW9HCx7686176AA= Content-Language: en-GB Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 X-Spam-Flag: yes X-Spam-Level: ************ X-GND-Spam-Score: 190 X-GND-Status: SPAM Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="vC3xyVf/"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io SGkgQWxsLA0KDQpQbGVhc2Ugc2VlIG15IHJlc3BvbnNlIGlubGluZSBtYXJrZWQgW1NBTUldLg0K DQpSZWdhcmRzLA0KDQpTYW1pIE11amF3YXINCg0K77u/T24gMjQvMDEvMjAyNCwgMTI6NDEsICJH ZXJkIEhvZmZtYW5uIiA8a3JheGVsQHJlZGhhdC5jb20gPG1haWx0bzprcmF4ZWxAcmVkaGF0LmNv bT4+IHdyb3RlOg0KD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