sdl_core icon indicating copy to clipboard operation
sdl_core copied to clipboard

SupportedDiagModes value is not truncated in case array has out of bound size

Open GetmanetsIrina opened this issue 3 years ago • 1 comments

Bug Report

SupportedDiagModes value is not truncated in case array has out of bound size

Reproduction Steps
  1. Change value in smartdeviceLink.ini file: SupportedDiagModes contains 101 elements
  2. Start SDL
  3. 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

logs.zip

GetmanetsIrina avatar Jun 23 '22 10:06 GetmanetsIrina

This issue relates to https://github.com/smartdevicelink/sdl_core/issues/2451

GetmanetsIrina avatar Jun 23 '22 10:06 GetmanetsIrina