[FIX] firmware: Application Static Code Analysis C...
by
Ivan Debnar
1 year 4 months
[FIX] firmware: Application Static Code Analysis Cleanup
* Buffer overflows
* Abundant volatile declarations
* Re-declaration of volume in branches
* Small cleanups
* Unnecessary casts
* Wrong operator when handling EEprom, preventing access to more that first 256 bytes
* Incorrect handling of response values from I2CReadByte - could return < 0 error values.
* Use proper 0-terminated const string so we do not trip underlying functions on 0-pointer.
* A bit more explicit handling for handling ENGLISH and DEFAULT locale.
* IKE detection fix for E46 variant A