From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (NAM01-BN3-obe.outbound.protection.outlook.com [40.107.74.49]) by mx.groups.io with SMTP id smtpd.web12.16277.1598459049096433241 for ; Wed, 26 Aug 2020 09:24:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ticorp.onmicrosoft.com header.s=selector2-ticorp-onmicrosoft-com header.b=Ea6m1OcW; spf=pass (domain: positivo.com.br, ip: 40.107.74.49, mailfrom: lbecker@positivo.com.br) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nr4Yw1GT6JseQtnnuu/KkISTpnAtNj+gLGTZu6qMmR5Zu5eUiQ5MbDxNKuI+S7F0+o3aBuSHw79hnjVgaou9PqjvWsxHf37Q/RdAONS90p/voJu65ej/7t79cBF6B+QS2FMeBz20u6dVVGOoNerP3WvYH0//004Qmali7VwziJp9LooNA2Y4ONUV+UscAjjCEhZCqCMculVBG9gm50OFuRFW5mfeXDxGk2iChq5QGE4xCcBHnDlE33Jv1f1qRp3ot8jULbZYWqRPB+LCg+guYxkgY20AUbNqU5DTEztoqK+Ha+4DBbXulGq2X5t96X4XjK4RHPhNyG+Hvrny8tl5/A== 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-SenderADCheck; bh=a+E0LSWxgqaUMKMm0RZbWaxgNuqmqTMcF7WcLu7rieM=; b=ZApnZPY69pqoOXHKXqmDzjs80U01lJbr/hWzhbUEyR5um7eOGzLWvrHXlgWsgybJmFISdGnFwO/mDeH0Iy96G0fTXIq/dX55iARBoTUsB1WFkmjYpDLo9wZTItebvzFnyEkSumO3n4L8SbqjsidNiwHGKoitliLL9D33cOGBlec4i1jE+JH4z/iOP13vlusiFmdghY5KsH8F1FsYwHFjunFysTkdkSsyEbWVq+9AKkow8Z2NuJaBEZeZ6x2+y/UwIank+JdvOmdCOpn8/B4CLnIKH0mx9ieFUBGFQoW/mmWiBK33CmhuwYx13Phh383vHLbC+kloA81QeBAc8+k5TA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=positivo.com.br; dmarc=pass action=none header.from=positivo.com.br; dkim=pass header.d=positivo.com.br; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ticorp.onmicrosoft.com; s=selector2-ticorp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a+E0LSWxgqaUMKMm0RZbWaxgNuqmqTMcF7WcLu7rieM=; b=Ea6m1OcWrXjibTSpPsr437ZpslScF+FIy2fRie1J0/NJAvbWiyA3ejyeO+xMDJka9Mzm6V3hKP3CySOCPYHscNz/osyxbxgJEi0vsXb24UfPw+o0DQEoM1ywTBL7qeN8r7G59BJhLyry0X+37a0BfpObyI5/+aYMhzy8PtcNFIQ= Received: from RO1P152MB1355.LAMP152.PROD.OUTLOOK.COM (2603:10d6:0:24::21) by RO1P152MB2890.LAMP152.PROD.OUTLOOK.COM (2603:10d6:4:2f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.25; Wed, 26 Aug 2020 16:24:06 +0000 Received: from RO1P152MB1355.LAMP152.PROD.OUTLOOK.COM ([fe80::358b:488d:400c:3253]) by RO1P152MB1355.LAMP152.PROD.OUTLOOK.COM ([fe80::358b:488d:400c:3253%5]) with mapi id 15.20.3305.032; Wed, 26 Aug 2020 16:24:06 +0000 From: "Leandro G. B. Becker" To: "devel@edk2.groups.io" Subject: Patch to improve DNS answers parser Thread-Topic: Patch to improve DNS answers parser Thread-Index: AdZ7xU4Akco9bW5UTPOYUDegEKms4Q== Date: Wed, 26 Aug 2020 16:24:06 +0000 Message-ID: Accept-Language: pt-BR, en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=positivo.com.br; x-originating-ip: [2804:14d:1483:4151:41a1:db4d:d644:711a] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5f799ea0-7a76-4426-42eb-08d849dc7471 x-ms-traffictypediagnostic: RO1P152MB2890: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: U7lNy0wf8iTx36JpOfFVjgTuMXfKLrzSYTnwCeTd+lwDQ7IwNC6YpFyXXWQqpFhF/Hh2FVUEI7vupX2oAL+ojO+9phxOKNVmGxb0ATTU9pwzFwCm/1f78BVR8HgUhIY9Woq4wpeiW2zJuav9E7sFfzWWPyvah6E+htsfrjndHZvDFGapIJJvXo4EUelBF7InzzfDTuMylfVXbujVY7NNjuH4hQGqd9vov2VdGOHbTKXGunqmm3E2/EGr48KAHk8FUjEskU7eapr0gdFhM6+VG96WLIYW4Pe5i4wZbuQcwWvFDmHq3T8BFmDoST9m7A2JMpg+GIAuLuXRo4D6p0C/hNNxZQIT4I4hroKunWwd+5nbVKHWBZd1h0Xi4WGYHfnfudrdURWgLjafsJ7zdNiilQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:RO1P152MB1355.LAMP152.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(376002)(346002)(136003)(39850400004)(396003)(366004)(33656002)(316002)(6506007)(55016002)(9686003)(8936002)(786003)(66556008)(66446008)(966005)(66476007)(64756008)(8676002)(66616009)(7696005)(2906002)(66946007)(166002)(76116006)(71200400001)(5660300002)(83380400001)(52536014)(6916009)(478600001)(99936003)(86362001)(19627235002)(19627405001)(186003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: fs4Vvc+fof+XbdZMSiE3aJ6XvIZLKeHOIdLu7GVbyW4TMd/5O+RntpRQXMGAcyhCd33KDN794dc5CnMZSjwkHOIAf3z2pi+2nWtL2TqTe9X6sJ7OCd27NVw8QOQd13jPMCXoi3KCIkWeGAIblLCKWlbGvYBxibVFJc8Q/i240vy2si+PoaF6mlVUYxzrsD0OB0QIXoD+VzKiUlpY+FYv+hCpCFV4tl0J7O7wcmJ4As6phQdgX3vLPkq/OXhk6exs1s5jFqX0nKnI2f4Zw2jnYts0+NGoJIPOkXBIxlPXTbeQES4gr5wM+ewfXNJK7OssyPtrdRu2ZCnJd3H3U+6MyOO2JpIRuVYV3Fs6MPCr3wKZeeW2r+vyxEcbWYNyfHQy7tmWe1jc6Sf3iLvA5FZ4OEnJfEuZ1gLSgpK3/yF32lplwadKJ8cVl0UxgJzNKfaorQMsk3qxtLBf7aRsnoyNWuc1RhUTvg/Djv+6t03mTxV4rm2Of7SzAUKBVL9egRNBO/ZfayBj1cjXk48NwsvhNx0dck9Uh0PxhLNEBL/6oLJusc0OjKR6pfiq6h2qifFk1nFULVy0H88/MmTpiwlD/0cpUK6dgfzTCY8qCcfRpMMMe8BVR3q2vwuTlIQ2P0PfUMm8GZV12t6K8c16qbnnXs1S01GqBe1g5lc3INvNxJoVEXocGGy8tmSdyQBwGdPb5JgoN1kF1Re/MuhdKK0Zbw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: positivo.com.br X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: RO1P152MB1355.LAMP152.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 5f799ea0-7a76-4426-42eb-08d849dc7471 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2020 16:24:06.7208 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fbcbd4a1-cffc-4c50-b5a8-611abdfe178c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: IwEILANFvXaEqxcXt80L0nDAkMHMdaAQXTPf3CZJKvwP+BG6JylxjosqKNjWbElG+gsYBC8cDe8JTNmh3VXlCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: RO1P152MB2890 X-Groupsio-MsgNum: 64648 Content-Language: pt-BR Content-Type: multipart/related; boundary="_004_RO1P152MB1355A8D9CA00EB23452191A0FE540RO1P152MB1355LAMP_"; type="multipart/alternative" --_004_RO1P152MB1355A8D9CA00EB23452191A0FE540RO1P152MB1355LAMP_ Content-Type: multipart/alternative; boundary="_000_RO1P152MB1355A8D9CA00EB23452191A0FE540RO1P152MB1355LAMP_" --_000_RO1P152MB1355A8D9CA00EB23452191A0FE540RO1P152MB1355LAMP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello folks, I made an improvement to DNS client (DnsImpl.c, line 1392) that instead of = abort processing answer records when a record that is not of type PTR is re= ceived, skip the record and goes to the next one if there is one. I had a p= roblem while resolving some names when DNS receives more than one answer an= d the first one is not of type 0xC0 (PTR) and now it is working fine. So to submit the patch for review is through this e-mail group, following t= he instructions at https://github.com/tianocore/edk2, section "Code Contrib= utions"? Thank you! LEANDRO GUSTAVO BISS BECKER Development Engineer R&D - BIOS Development - Manaus lbecker@positivo.com.br Positivo Tecnologia Tel.: +55 92 3183-7988 [https://intracorporativa.positivo.com.br/assinatura-positivo/img/logos/com= p/positivo_tecnologia.jpg] This message may contain confidential and/or legally privileged information= . If you are not the intended recipient or the person authorized to receive= this message, you must not use, copy or disclose the information contained= herein or take any action based on this content, and you must notify the s= ender and delete the message permanently from your system. Positivo Tecnologia seeks to ensure the highest level of corporate integrit= y and ethics in its activities, making available to all the "Canal Aberto",= through which anyone can report possible violations of internal policies, = laws and regulations. The "Canal Aberto" can be accessed anonymously, anyti= me, through the website www.positivotecnologia.com.br/canalaberto or by calling 0800 727 7016. --_000_RO1P152MB1355A8D9CA00EB23452191A0FE540RO1P152MB1355LAMP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello folks,

 

I made an improvement to DNS cl= ient (DnsImpl.c, line 1392) that instead of abort processing answer records= when a record that is not of type PTR is received, skip the record and goe= s to the next one if there is one. I had a problem while resolving some names when DNS receives more than one a= nswer and the first one is not of type 0xC0 (PTR) and now it is working fin= e.

 

So to submit the patch for revi= ew is through this e-mail group, following the instructions at h= ttps://github.com/tianocore/edk2, section &= #8220;Code Contributions”?

 

Thank you!

 

LEANDRO GU= STAVO BISS BECKER

Developmen= t Engineer

R&D - BIO= S Development - Manaus

lbecker@posi= tivo.com.br

Positivo T= ecnologia

Tel.: +55 92&= nbsp; 3183-7988

3D"https://intracorporativa.positivo.c=

 

This message may contain= confidential and/or legally privileged information. If you are not the intended recipient or the person authorized to receive = this message, you must not use, copy or disclose the information contained = herein or take any action based on this content, and you must notify the se= nder and delete the message permanently from your system.

Positivo Tecnologia seek= s to ensure the highest level of corporate integrity and ethics in its activities, making available to all the “Canal Abe= rto”, through which anyone can report possible violations of internal= policies, laws and regulations. The “Canal Aberto” can be acce= ssed anonymously, anytime, through the website www= .positivotecnologia.com.br/canalaberto or by calling 0800 727 7016<= /span>.

 

 

--_000_RO1P152MB1355A8D9CA00EB23452191A0FE540RO1P152MB1355LAMP_-- --_004_RO1P152MB1355A8D9CA00EB23452191A0FE540RO1P152MB1355LAMP_ Content-Type: image/jpeg; name="image003.jpg" Content-Description: image003.jpg Content-Disposition: inline; filename="image003.jpg"; size=1757; creation-date="Wed, 26 Aug 2020 16:24:06 GMT"; modification-date="Wed, 26 Aug 2020 16:24:06 GMT" Content-ID: Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsK CwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQU FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU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