This is a static checker fix. We write some binary settings to the
sysfs file. One of the settings is the "->startup_profile". There
isn't any checking to make sure it fits into the
pyra->profile_settings[] array in the profile_activated() function.
I added a check to pyra_sysfs_write_settings(
On Fri, 9 Jan 2015, Dan Carpenter wrote:
> This is a static checker fix. We write some binary settings to the
> sysfs file. One of the settings is the "->startup_profile". There
> isn't any checking to make sure it fits into the
> pyra->profile_settings[] array in the profile_activated() functi