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 2FF6F7803CF for ; Sat, 24 Feb 2024 16:01:12 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=AlcLavLQDanLyFWqLmCzDBoEVO6b4ZAWWvO1wjsIpbk=; c=relaxed/simple; d=groups.io; h=Message-ID:From:To:Subject:Date:MIME-Version:Importance:References:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Length; s=20140610; t=1708790470; v=1; b=Ko32cfpzVFa4DtrQ+o4VrY9kL3JDjQ9xvNhY8CILZPcVQRxj1ic9yDYPMB9J1dvfnseWvfCl mHcJuwj1XtcqaGMbXK+cHAZHhiv9SzrZd3vi/VcEvypvBV7OJVi54+bhnnF1+suWF81l/wsa9GV oKZfRvCZHaAdISPzPtx4QpcQ= X-Received: by 127.0.0.2 with SMTP id wO4iYY7687511xHyKtiPbC8G; Sat, 24 Feb 2024 08:01:10 -0800 X-Received: from sonic315-23.consmr.mail.ne1.yahoo.com (sonic315-23.consmr.mail.ne1.yahoo.com [66.163.190.149]) by mx.groups.io with SMTP id smtpd.web11.21657.1708790470219223790 for ; Sat, 24 Feb 2024 08:01:10 -0800 X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1708790469; bh=5KPbHFdwLkY0gb1r9Ejkwj+L8cf9kjIIm42fE4kDU9F=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=eauDcNEQQC63LuwyakMOJ8FLrk3Npa2ljCOaUJJ/f2hXHxuMu6C0c8Yu5+oBnzcviBCKiu5IFToPYePpeAciWh2qO2s47mtFnz940U/Z+jExUxbC+11Z1XQGdtGQ7nvleuwkz+2nnwMERLnF5MNZgA1O0gCX2f4zqGyhCzLj5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hafLxj3G8Zdnwv9bwHnGpCofHo40koKmsFgVoFl7eExO0czCmic2Fe2pGk0KU6FaF3TUSeSTHBH .ysP0O070n.sRpbOJeOwXsSh3aSGzTdoTgE72UtGnyhl61As1YXmM_pb_2YQSyw_hP1rv0b5ykc0 LeK1P6MzcyoxnD.CXoqfC7Ntar.At4u1AeP4wlMoXKu6VTf6.jFDsZy06QTyEUAKWlanXcx08RAK eH7.5WJTcllFp6287sa3TRL3tNZiR.bitG_GZUxBtWXtayuYUGBTTlI_kFSWEflSKVGYRuaohsPW QMM6F5RCu2zY52b3gaBQHIIQ- X-Sonic-MF: X-Sonic-ID: b69f552a-121c-4786-b764-123f0b43d60a X-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sat, 24 Feb 2024 16:01:09 +0000 X-Received: by hermes--production-bf1-7d6dbd57c9-hwf7b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2bc04f3f50a152fbf09c03427508c67d; Sat, 24 Feb 2024 16:01:05 +0000 (UTC) Message-ID: <73061DCB4B4D46209875F9B9B0F87C84@DESKTOPQUG2G9K> From: "Charles Hyde" To: Subject: [edk2-devel] edk2-test: bug in DevicePathFromTextBBTestCoverage.c Date: Sat, 24 Feb 2024 11:01:02 -0500 MIME-Version: 1.0 X-Priority: 3 Importance: Normal References: <73061DCB4B4D46209875F9B9B0F87C84.ref@DESKTOPQUG2G9K> 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,chip.programmer@att.net List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: o2yUt3pDHYeviA6nLhzC4kO2x7686176AA= Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=fail ("headers rsa verify failed") header.d=groups.io header.s=20140610 header.b=Ko32cfpz; dmarc=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 There is a bug in the following source file: uefi-sct\ SctPkg\ TestCase\ UEFI\ EFI\ Protocol\ DevicePathFromText\ BlackBoxTest\ DevicePathFromTextBBTestCoverage.c Lines 1737, 1738, 1742, and 1743 reference DNS without any cast override,= =20 which causes the pointer reference logic to be wrong, leading the functions= =20 SctStrToIPv4Addr and SctStrToIPv6Addr to cause memory corruption. The DNS= =20 reference needs to have (UINT8 *) cast override, like is done in=20 DevicePathToTextBBTestMain.c. Regards, Chip=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115906): https://edk2.groups.io/g/devel/message/115906 Mute This Topic: https://groups.io/mt/104548292/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-