From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.1082.1659043861110895920 for ; Thu, 28 Jul 2022 14:31:01 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: dimitrije.pavlov@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 59F91106F; Thu, 28 Jul 2022 14:31:00 -0700 (PDT) Received: from R90X9F89.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 808903F70D; Thu, 28 Jul 2022 14:30:59 -0700 (PDT) From: "Dimitrije Pavlov" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Jeff Booher-Kaeding , Samer El-Haj-Mahmoud , Sunny Wang , Jeremy Linton Subject: [PATCH v2 1/1] OvmfPkg/QemuVideoDxe: Zero out PixelInformation in QueryMode Date: Thu, 28 Jul 2022 16:30:42 -0500 Message-Id: <20220728213042.2145-1-Dimitrije.Pavlov@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: base64 RW5zdXJlIHRoYXQgdGhlIFBpeGVsSW5mb3JtYXRpb24gZmllbGQgb2YgdGhlCkVGSV9HUkFQSElD U19PVVRQVVRfTU9ERV9JTkZPUk1BVElPTiBzdHJ1Y3R1cmUgaXMgemVyb2VkIG91dCBpbgpFRklf R1JBUEhJQ1NfT1VUUFVUX1BST1RPQ09MLlF1ZXJ5TW9kZSgpIGFuZApFRklfR1JBUEhJQ1NfT1VU UFVUX1BST1RPQ09MLlNldE1vZGUoKSB3aGVuIFBpeGVsRm9ybWF0IGlzClBpeGVsQmx1ZUdyZWVu UmVkUmVzZXJ2ZWQ4Qml0UGVyQ29sb3IuCgpBY2NvcmRpbmcgd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