diff options
author | hhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-05-14 07:47:29 +0000 |
---|---|---|
committer | hhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-05-14 07:47:29 +0000 |
commit | 29a4f92d814896a7c15e5fd0559defa4d7232c53 (patch) | |
tree | 3870ed46aba7dda643889f08a2b17589b64683c5 /MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c | |
parent | d60957b8562d00e33b6e78626891fc80b0375cf3 (diff) | |
download | edk2-29a4f92d814896a7c15e5fd0559defa4d7232c53.zip edk2-29a4f92d814896a7c15e5fd0559defa4d7232c53.tar.gz edk2-29a4f92d814896a7c15e5fd0559defa4d7232c53.tar.bz2 |
Fix 3 K8 issues for PXE module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10489 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c index 2b0c9e0..2dc7471 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c @@ -1832,6 +1832,8 @@ PxeBcSelectBootMenu ( gST->ConOut->SetCursorPosition (gST->ConOut, 0, TopRow + MenuNum);
} while (!Finish);
+ ASSERT (Select < PXEBC_MAX_MENU_NUM);
+
//
// Swap the byte order
//
|