powerstat: check for thermal zone and power domains stats overflow
Bug #1551297 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerstat (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
If we have more than MAX_POWER_DOMAINS or MAX_THERMAL_ZONES we can overflow the stats buffer causing data corruption. These need a maximum limit check added so we don't overflow these stats.
Changed in powerstat (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Colin Ian King (colin-king) |
To post a comment you must log in.
Fix committed, http:// kernel. ubuntu. com/git/ cking/powerstat .git/commit/ ?id=64331c89901 090c61003c36230 354460a3a6656b