public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH EDK2 v1 0/1] MdePkg/DxeHstiLib: avoid Hsti offset overflow
@ 2020-11-19  9:27 wenyi,xie
  2020-11-19  9:27 ` [PATCH EDK2 v1 1/1] " wenyi,xie
  0 siblings, 1 reply; 3+ messages in thread
From: wenyi,xie @ 2020-11-19  9:27 UTC (permalink / raw)
  To: devel, michael.d.kinney, gaoliming, zhiguang.liu; +Cc: songdongkuang, xiewenyi2

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-20  6:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-19  9:27 [PATCH EDK2 v1 0/1] MdePkg/DxeHstiLib: avoid Hsti offset overflow wenyi,xie
2020-11-19  9:27 ` [PATCH EDK2 v1 1/1] " wenyi,xie
2020-11-20  6:05   ` 回复: " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox