Skip to content

Commit 69b286d

Browse files
committedOct 30, 2016
tests: fixed out of bounds array access
1 parent 91551ad commit 69b286d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/greenpak4/slg46620v/Bargraph.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ bool RunTest(hdevice hdev)
133133
//Sweep input and verify output
134134
LogVerbose("Running comparator voltage sweep\n");
135135
double step = 0.025;
136-
bool pin_states[5] = {false};
136+
bool pin_states[6] = {false};
137137
for(double vtest = step; vtest < 1.1; vtest += step)
138138
{
139139
LogIndenter li;

0 commit comments

Comments
 (0)
Please sign in to comment.