You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the test_l2_tvSettings_SetAndGetDolbyVisionMode test case, the loop iterates up to getcount using the condition i <= getcount. Since the loop starts from 0, this results in the last iteration attempting to access an out-of-bounds index in the dvModes array, leading to garbage value access and VTS test failures.
Steps to reproduce
No response
Expected Behavior
The loop in test_l2_tvSettings_SetAndGetDolbyVisionMode should iterate within valid bounds of the dvModes array (from index 0 to getcount - 1), ensuring no out-of-bounds access.
Actual Behavior
The loop iterates up to getcount (using the condition i <= getcount), resulting in the last iteration accessing an out-of-bounds index, causing garbage value access and VTS test failures.
Notes (Optional)
No response
The text was updated successfully, but these errors were encountered:
…Vision
gh #69 test_l2_tvSettings_SetAndGetDolbyVisionMode loop accesses out-of-bounds index due to incorrect condition i <= getcount, causing VTS failures.
Problem/Opportunity
In the test_l2_tvSettings_SetAndGetDolbyVisionMode test case, the loop iterates up to getcount using the condition i <= getcount. Since the loop starts from 0, this results in the last iteration attempting to access an out-of-bounds index in the dvModes array, leading to garbage value access and VTS test failures.
Steps to reproduce
No response
Expected Behavior
The loop in test_l2_tvSettings_SetAndGetDolbyVisionMode should iterate within valid bounds of the dvModes array (from index 0 to getcount - 1), ensuring no out-of-bounds access.
Actual Behavior
The loop iterates up to getcount (using the condition i <= getcount), resulting in the last iteration accessing an out-of-bounds index, causing garbage value access and VTS test failures.
Notes (Optional)
No response
The text was updated successfully, but these errors were encountered: