[edk2-devel] [PATCH] SecurityPkg: check return value of GetEfiGlobalVariable2() in DxeImageVerificationHandler()

2022-11-27 Thread Jon Maloy
Fixes: CVE-2019-14560 GetEfiGlobalVariable2() is used in some instances when looking up the SecureBoot UEFI variable. The API can fail in certain circumstances, for example, if AllocatePool() fails or if gRT->GetVariable() fails. In the case of secure boot checks, it is critical that this return v

[edk2-devel] Event: Tools, CI, Code base construction meeting series - Monday, November 28, 2022 #cal-reminder

2022-11-27 Thread Group Notification
*Reminder: Tools, CI, Code base construction meeting series* *When:* Monday, November 28, 2022 4:30pm to 5:30pm (UTC-08:00) America/Los Angeles *Where:* https://github.com/tianocore/edk2/discussions/2614 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=1623296 ) *Description:* Tia

[edk2-devel] [PATCH v2 2/3] OvmfPkg: take PcdResizeXterm from the QEMU command line

2022-11-27 Thread Paweł Poławski
From: Laszlo Ersek Allow enable XTerm resize sequences on terminal mode changes via QEMU command line Signed-off-by: Laszlo Ersek Pawel Polawski: Updated commit message for re-submission Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Signed-off-by: Paweł Poławski

[edk2-devel] [PATCH v2 1/3] MdeModulePkg: TerminalDxe: set xterm resolution on mode change

2022-11-27 Thread Paweł Poławski
From: Laszlo Ersek Allow TerminalDxe outputs an XTerm resize sequence on terminal mode change Reference: Signed-off-by: Laszlo Ersek Pawel Polawski: Updated commit message for re-submission Cc: Jian J Wang Cc: Liming Gao Signed-off-by: Paweł Poławsk

[edk2-devel] [PATCH v2 3/3] ArmVirtPkg: take PcdResizeXterm from the QEMU command line

2022-11-27 Thread Paweł Poławski
From: Laszlo Ersek Allow enable XTerm resize sequences on terminal mode changes via QEMU command line Signed-off-by: Laszlo Ersek Pawel Polawski: Updated commit message for re-submission Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sami Mujawar Cc: Gerd Hoffmann Signed-off-by: Paweł Poławski

[edk2-devel] [PATCH v2 0/3] Enable support for terminal resize

2022-11-27 Thread Paweł Poławski
This is re-submission of original patches written by Laszlo Ersek. When mode will be changed in the EFI - xterm resolution will change too. Tested with xterm, Gnome terminal and XFCE4 terminal. Laszlo Ersek (3): MdeModulePkg: TerminalDxe: set xterm resolution on

Re: [edk2-devel] [PATCH v6 5/5] BaseTools: Remove ext. gcc dependencies (Linux only)

2022-11-27 Thread Chris Fernald
Over-all I think this change is good to go. My only outstanding concern would be around deleting these yaml files for the compilers. I fear deleting them may break others work-flows and wonder if instead we should update the python files to first check for the presence of the prefix shell varia

Re: [edk2-devel] [PATCH] UsbNetworkPkg: add USB network devices support

2022-11-27 Thread RichardHo [何明忠] via groups . io
Hi Rebecca, Thanks for your response. #1. The NCM, ECM, and RNDIS feature could enable at the same time. #2. UsbEthernetProtocol.h, PxeFunction.c the TYPO will be fixed next. #3 Receive buffer will be allocate during driver initialize. Thanks, Richard -Original Message- From: Rebecca

[edk2-devel] [PATCH v3 1/1] OvmfPkg/SmbiosPlatformDxe: use PcdFirmware*

2022-11-27 Thread Gerd Hoffmann
Instead of using hard-coded strings ("0.0.0" for BiosVersion etc) which is mostly useless read the PCDs (PcdFirmwareVendor, PcdFirmwareVersionString and PcdFirmwareReleaseDateString) and build the string table dynamuically at runtime. Signed-off-by: Gerd Hoffmann --- .../SmbiosPlatformDxe/Smbios

[edk2-devel] [PATCH 1/1] OvmfPkg/PciHotPlugInitDxe: fix io window size

2022-11-27 Thread Gerd Hoffmann
Smallest IO window size for PCI bridges is 0x1000. Add a check and fixup the Exponent of needed. Avoids broken resource assignments like this: [ ... ] PciBus: Resource Map for Root Bridge PciRoot(0x0) Type = Io16; Base = 0x6000; Length = 0x7000;Alignment = 0xFFF [ ...