[edk2-devel] [PATCH EDK2 v1 0/1] MdePkg/DxeHstiLib: avoid Hsti offset overflow

wenyi,xie via groups.io posted 1 patch 3 years, 4 months ago
Failed in applying to current master (apply log)
MdePkg/Library/DxeHstiLib/HstiDxe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[edk2-devel] [PATCH EDK2 v1 0/1] MdePkg/DxeHstiLib: avoid Hsti offset overflow
Posted by wenyi,xie via groups.io 3 years, 4 months ago
Main Changes :
add conditional operator to check whether the HstiSize is larger than
sizeof(CHAR16). If not, setting offset to 0 to avoid overflow.

Wenyi Xie (1):
  MdePkg/DxeHstiLib: avoid Hsti offset overflow

 MdePkg/Library/DxeHstiLib/HstiDxe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#67696): https://edk2.groups.io/g/devel/message/67696
Mute This Topic: https://groups.io/mt/78361268/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-