chiark / gitweb /
bootchart: Do not try to access data for non-existing CPU's
authorPhilippe De Swert <philippe.deswert@jollamobile.com>
Sun, 28 Sep 2014 15:12:51 +0000 (18:12 +0300)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sun, 28 Sep 2014 17:35:11 +0000 (19:35 +0200)
commitc119700c06b248b1c2a082b40b1a346f58d89da0
tree6ee7276b114ed4e9416ded27b6bdfb6569232bed
parent5e90b6a978d15efedc5b5cc4a3d2d922a0ecd2a9
bootchart: Do not try to access data for non-existing CPU's

Cpu's are assigned normally, so starting at 0, so the MAX_CPU index will
always be one smaller than the actual number.

Found with Coverity.
src/bootchart/store.c