]> git.proxmox.com Git - mirror_edk2.git/commit
Resolve a bug where the initial ReadEdidData 'for' loop would loop
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Nov 2008 00:30:53 +0000 (00:30 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Nov 2008 00:30:53 +0000 (00:30 +0000)
commit6f716497dee8dcc8eea249e3136793678cf6ad59
tree40e9163667285c97b0d214edf20a8ce95a1455f8
parentd9b834afbf67ad45b5cbf339e957efe441978218
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
OptionRomPkg/CirrusLogic5430Dxe/Edid.c