char imei_temp[14] = {0, };
strcpy(imei_temp, "00000000000000");
According to my understanding this is valid code.
But Klocwork is saying Buffer overflow, array index of 'imei_temp
' may be out of bounds. Array 'imei_temp
' of size 14 may use index value(s) 0..14