fwts: fwts_cpu_readmsr potential race between stat and open

Bug #1209225 reported by Colin Ian King
6
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.

Changed in fwts:
importance: Undecided → Low
status: New → In Progress
assignee: nobody → Colin King (colin-king)
Keng-Yu Lin (lexical)
Changed in fwts:
milestone: none → 13.09.00
Revision history for this message
Colin Ian King (colin-king) wrote :

Fix committed, commit e5f6ef4c783441e06b769b3ddac94a382959c1eb

Changed in fwts:
status: In Progress → Fix Committed
Changed in fwts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.