#112: probe_flash calculates base address before final value of size is known
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | 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/>
--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot