From nobody Sun Feb 8 16:05:57 2026 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+68753+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+68753+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1607911212; cv=none; d=zohomail.com; s=zohoarc; b=GQoJHTW43918AtEmf6CREMuENhE+ZhtCE7xIGUqpZrdTWWQ9x7ZP4Xw/ZJlIKIysTYJAo+QZIZZGt9Q41BNgc82j8I1YeFqFR7Xni/ILCKfrJy3qbpNGsSNn8zIIytWhdLmYiWcNTcQjj34Dkwnpl6KaKIlTAlGIqF7gyy/9k+E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607911212; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=dA6pC28SDSkUHNBgrMxXw6Vb9Ba/gUBKW+SIqfBeexA=; b=ir3+qjeYtjh/wMsD2OYcYw3gJsFyIKMtFGznuWOyZHSHjq2vrp/qbpkAh4SQrxexId718TIRAposTXs/DxWPZHGzYIalvwz3MFMR3CRxZl8T1fXpSbFwA8z6IHxSruEeYPGi2ZXDFGpa0hj1iURB+lIy4139hFfvG29ymNInGsE= 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+68753+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 160791121262927.467923944547238; Sun, 13 Dec 2020 18:00:12 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id wy9YYY1788612xSBusVasuw4; Sun, 13 Dec 2020 18:00:11 -0800 X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web08.28524.1607911209166299768 for ; Sun, 13 Dec 2020 18:00:11 -0800 X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 14 Dec 2020 10:00:01 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , Cc: , References: <164F36ADB5F781C1.18718@groups.io> In-Reply-To: <164F36ADB5F781C1.18718@groups.io> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gTWRlTW9kdWxlUGtnOiBGaXggU2V0TWVtIHBhcmFtZXRlciBpbiBPbmlndXJ1bWFVZWZpUG9ydA==?= Date: Mon, 14 Dec 2020 10:00:01 +0800 Message-ID: <005101d6d1bc$d5f33130$81d99390$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQIiRNkMI3q8qf2Ex7U998BkoidT0gIlwAo5qU3B4bA= 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: DoYbrbWYbnCJVbmnZyTQxMFfx1787277AA= Content-Type: multipart/alternative; boundary="----=_NextPart_000_0052_01D6D1FF.E4173480" Content-Language: zh-cn DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607911211; bh=dSnbUsknbsmEhuWNc1wTTrt4bvVx9DtgxT2ygSBRLqg=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=nRBhL5gKnSmNRiuf5oAW6P6srP1kkQnhzzXokUN9INRGfQQNGW+Y3xNJgDJbonUutIB XLjALvbQ6jPSCoWXQgHY4XDr/AT31XIHW1Njzt3o8QXbfPAM1TZd8Piop+lRKctyRL+5w vnmgMT+pH9Y0G9AmC79otXhTO+hti3ymAEs= X-ZohoMail-DKIM: pass (identity @groups.io) ------=_NextPart_000_0052_01D6D1FF.E4173480 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Create PR https://github.com/tianocore/edk2/pull/1219 =20 Thanks Liming =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+68612+4905953+8761045@groups.io =E4=BB=A3=E8=A1=A8 gaoliming =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B412=E6=9C=8810=E6=97=A5 9= :28 =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io; anbazhagan@hp.com =E6=8A=84=E9=80=81: jian.j.wang@intel.com; hao.a.wu@intel.com =E4=B8=BB=E9=A2=98: =E5=9B=9E=E5=A4=8D: [edk2-devel] MdeModulePkg: Fix SetM= em parameter in OnigurumaUefiPort =20 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 = Anbazhagan, 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 =20 =E6=8A=84=E9=80=81: gaoliming@byosoft.com.cn ; jian.j.wang@intel.com ; hao.a.wu@intel.com =20 =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 (#68753): https://edk2.groups.io/g/devel/message/68753 Mute This Topic: https://groups.io/mt/78942337/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_0052_01D6D1FF.E4173480 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Create PR https://github.com/tianocore/edk2/pull/1219

 

Thanks

Liming

=B7=A2= = =BC=FE=C8=CB: bounce+27952+68612+4905953+8761045@groups.i= o <bounce+27952+68612+4905953+8761045@groups.io> =B4=FA=B1=ED gaoliming
=B7=A2=CB=CD=CA=B1=BC=E4:<= /span> 2020=C4=EA12=D4=C210=C8=D5 9:28
=CA=D5=BC=FE=C8=CB: de= vel@edk2.groups.io; anbazhagan@hp.com
=B3=AD=CB=CD: jian.j.wang@intel.com; hao.a.wu@i= ntel.com
=D6=F7=CC=E2: =BB=D8=B8=B4: [edk2-devel] MdeModulePk= g: Fix SetMem parameter in OnigurumaUefiPort

 <= /p>

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

 

=B7=A2=BC=FE=C8=CB: b= ounce+27952+68609+4905953+8761045@groups.io <bounce+27952+68609+4905953+8761045= @groups.io> =B4= =FA=B1=ED Anbazhagan, Baraneedharan via groups.io
=B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA12= =D4=C210=C8=D5 8:21
=CA=D5=BC=FE=C8=CB: devel@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 S= etMem parameter in OnigurumaUefiPort

 

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

=  

Coding = error in converting memset call to SetMem - Length and Value

is not swapped on calling Se= tMem

&nbs= p;

Signed-off-by: B= araneedharan Anbazhagan <anbazhagan= @hp.com>

---

MdeModul= ePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c | 2 +-

1 file changed, 1 insertio= n(+), 1 deletion(-)

 

d= iff --git a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c= b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c

index 2b2b0d420d..9aa7= b0a68e 100644

= --- a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.c<= /o:p>

+++ b/MdeModulePkg/= Universal/RegularExpressionDxe/OnigurumaUefiPort.c

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

 

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

{=

-  return Set= Mem (dest, ch, count);

+  return SetMem (dest, count, ch);

}

 

<= span lang=3DEN-US>--

2.29.2.windows.3

 

_._,_._,_

Gr= oups.io Links:

You receive all messages sent to this group.

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

_._,_._,_
=20 ------=_NextPart_000_0052_01D6D1FF.E4173480--