From: hchen30
Update the EOT tool to call the program itself instead of calling the Python
API when parsing FV images.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen
---
BaseTools/Source/Python/Eot/{Eot.py => EotMain.py} | 465 +++--
I pushed this patch first since it helped to fix the critical bug.
Version: SHA-1: 272ecccd793c8fb12f4f356ada18a870c2426603
Best Regards,
Zhu Yonghong
-Original Message-
From: Zhu, Yonghong
Sent: Monday, October 15, 2018 6:18 PM
To: Feng, YunhuaX ; edk2-devel@lists.01.org
Cc: Gao,
Reviewed-by: Yonghong Zhu
Best Regards,
Zhu Yonghong
-Original Message-
From: Feng, YunhuaX
Sent: Monday, October 15, 2018 5:04 PM
To: edk2-devel@lists.01.org
Cc: Zhu, Yonghong ; Gao, Liming
Subject: [PATCH 1/1] BaseTools: Fix regression boot hang issue by commit
0e982cf03dd5
Fix
Fix regression boot hang issue by commit
0e982cf03dd5023b90def60c3656e5e18135ebac
Cc: Liming Gao
Cc: Yonghong Zhu
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng
---
BaseTools/Source/Python/GenFds/Fv.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Liming Gao
>-Original Message-
>From: Zhao, ZhiqiangX
>Sent: Tuesday, September 25, 2018 2:01 PM
>To: edk2-devel@lists.01.org
>Cc: Zhao, ZhiqiangX ; Gao, Liming
>; Zhu, Yonghong ; Feng,
>Bob C
>Subject: [PATCH V3] BaseTools: add ASSERT checker for array buffer value
Zhiqiang:
The patch is good to me. Reviewed-by: Liming Gao
But, please remember to send patch mail, not attach the patch for review.
Thanks
Liming
>-Original Message-
>From: Zhao, ZhiqiangX
>Sent: Tuesday, September 25, 2018 3:16 PM
>To: Gao, Liming ; edk2-devel@lists.01.org
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni
Cc: Jiewen Yao
Cc: Star Zeng
---
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c
Per USB HID spec, the buffer holding key codes should be 8-byte
long.
Today's code assumes that the key codes buffer length is 8-byte
long and unconditionally accesses the key codes buffer.
It's incorrect.
The patch fixes the issue by returning Device Error when the
length is less than 8-byte.
Per USB HID spec, the buffer holding key codes should at least 3-byte
long.
Today's code assumes that the key codes buffer length is longer than
3-byte and unconditionally accesses the key codes buffer.
It's incorrect.
The patch fixes the issue by returning Device Error when the
length is less
From: Hao Wu
This commit adds checks to make sure the UFS devices do not return more
data than the driver expected.
Cc: Ruiyu Ni
Cc: Jiewen Yao
Cc: Star Zeng
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu
---
MdeModulePkg/Bus/Ufs/UfsBlockIoPei/UfsHci.c
Per USB HID spec, the buffer holding key codes should at least 3-byte
long.
Today's code assumes that the key codes buffer length is longer than
3-byte and unconditionally accesses the key codes buffer.
It's incorrect.
The patch fixes the issue by returning Device Error when the
length is less
Today's implementation doesn't check whether the length of
descriptor is valid before using it.
The patch fixes this issue.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni
Cc: Star Zeng
Cc: Jiewen Yao
---
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.c | 7 +++
1
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni
Cc: Hao A Wu
---
.../DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c | 7 +++
1 file changed, 7 insertions(+)
diff --git
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni
Cc: Jiewen Yao
Cc: Star Zeng
Cc: Hao A Wu
---
MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c | 9 ++---
MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c | 7 ---
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 9 ++---
3
Today's implementation reads the Type/Length field in the USB
descriptors data without checking whether the offset to read is
beyond the data boundary.
The patch fixes this issue.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni
Cc: Star Zeng
Cc: Jiewen Yao
---
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1250
The patches contain logic to check the data from HW before using.
It can avoid corrupted data from HW causes software behave abnormally.
Hao Wu (1):
MdeModulePkg/Bus/Ufs: Ensure device not return more data than expected
Ruiyu Ni (10):
The change doesn't have functionality impact.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni
Cc: Star Zeng
---
.../Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c| 248 +
.../Bus/Usb/UsbMassStorageDxe/UsbMassBoot.h| 76 ++-
UsbBootReadWriteBlocks() and UsbBootReadWriteBlocks16() use a UINT16
local variable to hold the value of
USB_BOOT_MAX_CARRY_SIZE (=0x1) / BlockSize.
When BlockSize is 1, the UINT16 local variable is set to 0x1
but the high-16 bits are truncated resulting the final value be 0.
It causes
101 - 118 of 118 matches
Mail list logo