[coreboot] #112: probe_flash calculates base address before final value of size is known
coreboot
svn at coreboot.org
Tue Aug 12 07:41:28 CEST 2008
#112: probe_flash calculates base address before final value of size is known
----------------------------------+-----------------------------------------
Reporter: alaricx at gmail.com | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: flashrom | Version: v2
Keywords: probe_flash mmap | Dependencies:
Patchstatus: patch needs review |
----------------------------------+-----------------------------------------
Found thanks to segher in #coreboot.
In probe_flash(), flash_baseaddr is set before the getpagesize() > size
check, thus can be invalid, causing mmap issues.
--
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/112>
coreboot <http://www.coreboot.org/>
More information about the coreboot
mailing list