sdl_core
sdl_core copied to clipboard
SupportedDiagModes value is not truncated in case array has out of bound size
Bug Report
SupportedDiagModes value is not truncated in case array has out of bound size
Reproduction Steps
- Change value in smartdeviceLink.ini file: SupportedDiagModes contains 101 elements
- Start SDL
- Register application
Expected Behavior
SDL sends SupportedDiagModes array with 100 elements in RAI response
Observed Behavior
SDL sends SupportedDiagModes array with 101 elements in RAI response
OS & Version Information
- OS/Version: 18.04
- SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop (65947fd)
- Testing Against: ATF: latest, Scripts: https://github.com/smartdevicelink/sdl_atf_test_scripts/pull/2691
Logs
This issue relates to https://github.com/smartdevicelink/sdl_core/issues/2451