Need to check the length of cpuInfoArray firstly?