fwts: fwts_cpu_readmsr potential race between stat and open
Bug #1209225 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firmware Test Suite |
Fix Released
|
Low
|
Colin Ian King |
Bug Description
This is a very low risk race found by Coverity Scan. Instead of stat() and then open(), we should just do an open() and reduce the window of opportinity for a time-of-use race issue.
Related branches
Changed in fwts: | |
importance: | Undecided → Low |
status: | New → In Progress |
assignee: | nobody → Colin King (colin-king) |
Changed in fwts: | |
milestone: | none → 13.09.00 |
Changed in fwts: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed, commit e5f6ef4c783441e 06b769b3ddac94a 382959c1eb