#112: probe_flash calculates base address before final value of size is known ----------------------------------+----------------------------------------- Reporter: alaricx@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.
#112: probe_flash calculates base address before final value of size is known ----------------------------------+----------------------------------------- Reporter: alaricx@gmail.com | Owner: somebody Type: defect | Status: closed Priority: major | Milestone: Component: flashrom | Version: v2 Resolution: fixed | Keywords: probe_flash mmap Dependencies: | Patchstatus: patch has been committed ----------------------------------+----------------------------------------- Changes (by segher):
* cc: segher@kernel.crashing.org (added) * status: new => closed * patchstatus: patch needs review => patch has been committed * resolution: => fixed