From nobody Mon May 6 14:31:41 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68612+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68612+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1607563717; cv=none; d=zohomail.com; s=zohoarc; b=HYpHYDpdkMiVjxbecE9v2NHtMf6wc1Sbewlvoph8VPw6+oW0C++gmSdyiGXAO4DSL8956kXSyRG4wlcVu8zeDxtvvepY0udn9KQvzUrd8T9QaH7br2mE4ueMWkO5vmfgG8z0xxoyl9KbZnfpy1EliwV99yPUAP2/rqvWVYGCuKQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607563717; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=wLGvDJK/93CeUKOAITj8bJS+N6MjYHIUJoX9mothBTs=; b=BdUFWe1+Y9krP0mvtUnm0H6wIsyE4Eht3wtO1O8vg79bxUQOkdXhiuE4pcPFuo8pKUipd4141yBc3AxOTX4LPOTLfkAnRZQZlT45E5dCOYg2oZ+KY6p14j9sObOAAh0XnDa/OVxP2dM7ioqKaeFk8Qit7UbXULinpbRlKhNfuCw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68612+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1607563717324577.7984894766729; Wed, 9 Dec 2020 17:28:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZQzsYY1788612xjSUr691Vhv; Wed, 09 Dec 2020 17:28:36 -0800 X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web09.6702.1607563709739241333 for ; Wed, 09 Dec 2020 17:28:31 -0800 X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Thu, 10 Dec 2020 09:28:23 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: , References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gTWRlTW9kdWxlUGtnOiBGaXggU2V0TWVtIHBhcmFtZXRlciBpbiBPbmlndXJ1bWFVZWZpUG9ydA==?= Date: Thu, 10 Dec 2020 09:28:26 +0800 Message-ID: <004101d6ce93$c22f9160$468eb420$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQIiRNkMI3q8qf2Ex7U998BkoidT0qlYnb8Q Precedence: Bulk List-Unsubscribe: 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,gaoliming@byosoft.com.cn X-Gm-Message-State: y3b8q6FPN5oI9d2ry1oHtGw0x1787277AA= Content-Type: multipart/alternative; boundary="----=_NextPart_000_0042_01D6CED6.D0536DA0" Content-Language: zh-cn DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607563716; bh=3P9mF00WYuYcwDaKHZ1aXknsx6KPRr/vWRdUQM5EUg8=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=Z7I7FpT3ji/aagSHKA5ib/rsCh2btjwYnIWGQXkOfDgIaTATiP9Vy9/Wc2D5ok8qxVE FJ0r/63qv8Vy+jPEjCR53KAaoK+VOngKS8iA81eATru1XUWSNmv+1U6GY1Jxp6Ixhk4nh /9Ckzq+sz9eekw3IYMrEyRFatSV8kmRtZ4Q= X-ZohoMail-DKIM: pass (identity @groups.io) ------=_NextPart_000_0042_01D6CED6.D0536DA0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Reviewed-by: Liming Gao =20 =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+68609+4905953+8761045@groups.io =E4=BB=A3=E8=A1=A8 Anbazhaga= n, Baraneedharan via groups.io =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B412=E6=9C=8810=E6=97=A5 8= :21 =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io =E6=8A=84=E9=80=81: gaoliming@byosoft.com.cn; jian.j.wang@intel.com; hao.a.= wu@intel.com =E4=B8=BB=E9=A2=98: [edk2-devel] MdeModulePkg: Fix SetMem parameter in Onig= urumaUefiPort =20 Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3085 =20 Coding error in converting memset call to SetMem - Length and Value is not swapped on calling SetMem =20 Signed-off-by: Baraneedharan Anbazhagan > --- MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) =20 diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c index 2b2b0d420d..9aa7b0a68e 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c +++ b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c @@ -93,6 +93,6 @@ void* memcpy (void *dest, const void *src, unsigned int count) =20 void* memset (void *dest, char ch, unsigned int count) { - return SetMem (dest, ch, count); + return SetMem (dest, count, ch); } =20 --=20 2.29.2.windows.3 =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 (#68612): https://edk2.groups.io/g/devel/message/68612 Mute This Topic: https://groups.io/mt/78845058/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- ------=_NextPart_000_0042_01D6CED6.D0536DA0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

 

=

=B7=A2=BC=FE= =C8=CB: bounce+27952+68609+4905953+8761045@groups.io <bounc= e+27952+68609+4905953+8761045@groups.io> =B4=FA=B1=ED Anbazhagan, Baraneedharan via groups.io
=B7=A2=CB=CD=CA=B1=BC=E4:<= /span> 2020=C4=EA12= = =D4=C210=C8=D5 8:21
=CA=D5=BC=FE=C8=CB: de= vel@edk2.groups.io
=B3=AD=CB=CD:= gaoliming@byosoft.com.cn; jian.j.wang@intel.com; hao.a.= wu@intel.com
=D6=F7=CC=E2: [edk2-devel] MdeModulePkg: Fix SetMem parameter in OnigurumaU= efiPort

 

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3085

 

<= p class=3DMsoNormal>Coding error in converting memset ca= ll to SetMem - Length and Value

<= span lang=3DEN-US>is not swapped on calling SetMem

 

Signed-off-by: Baraneedharan Anbazhagan &l= t;anbazhagan@hp.com>=

---

MdeModulePkg/Universal/RegularExpr= essionDxe/OnigurumaUefiPort.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

 

diff --git a/MdeModulePkg/U= niversal/RegularExpressionDxe/OnigurumaUefiPort.c b/MdeModulePkg/Universal/= RegularExpressionDxe/OnigurumaUefiPort.c

index 2b2b0d420d..9aa7b0a68e 100644

--- a/MdeModulePkg/Univers= al/RegularExpressionDxe/OnigurumaUefiPort.c

+++ b/MdeModulePkg/Universal/RegularExpres= sionDxe/OnigurumaUefiPort.c

@@ -93,6 +93,6 @@ void* memcpy (void *dest, const void *src, = unsigned int count)

 

&= nbsp;void* memset (void *dest, char ch, unsigned int count)

{

-  return SetMem (dest, ch, count);<= o:p>

+  return= SetMem (dest, count, ch);

}

 

--

2.29.2.windows.3=

 

_._,_._,_

Gr= oups.io Links:

You receive all messages sent to this group.

Vie= w/Reply Online (#68612) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [importer@patchew.org]

_._,_._,_
=20 ------=_NextPart_000_0042_01D6CED6.D0536DA0--