diff options
author | Thomas Jarosch <tomj@simonv.com> | 2014-12-20 13:37:40 +0100 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2014-12-20 13:37:40 +0100 |
commit | c54537a6639bc9ea495fac5e9ecb3ee7a699b484 (patch) | |
tree | a8955bdb176f46a043423e946964fabb0c9e4d7f /apps/screens.c | |
parent | f8d9e9cb6c4cbec8a611f871de006608ad7a1dbd (diff) |
Prevent theoretical out-of-bounds access in STM_Load()
We should be safe since STM_Load() should
never be called if STM_Test() fails.
Still it's better safe than sorry.
cppcheck reported:
[rockbox/apps/plugins/mikmod/load_stm.c:302]: (error) Array 'STM_Version[3]' accessed at index 3, which is out of bounds.
Change-Id: I914935fd108c492d013de24d17dcb9c227af6cd8
Diffstat (limited to 'apps/screens.c')
0 files changed, 0 insertions, 0 deletions