summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X86ReadGdtr.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-24 00:30:53 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-24 00:30:53 +0000
commit6f716497dee8dcc8eea249e3136793678cf6ad59 (patch)
tree40e9163667285c97b0d214edf20a8ce95a1455f8 /MdePkg/Library/BaseLib/X86ReadGdtr.c
parentd9b834afbf67ad45b5cbf339e957efe441978218 (diff)
downloadedk2-platforms-6f716497dee8dcc8eea249e3136793678cf6ad59.tar.xz
Resolve a bug where the initial ReadEdidData 'for' loop would loop
infinitely, since the Index variable was declared as UINT8, and 'EDID_BLOCK_SIZE * 2' is 256. In the EFI_SUCCESS return path of CirrusLogic5430VideoModeSetup, check that 'EdidOverrideDataBlock' has been allocated before attempting to free this memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6688 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X86ReadGdtr.c')
0 files changed, 0 insertions, 0 deletions