Skip to content

Commit

Permalink
Bug 563591 - Fix exception in EvalBinding
Browse files Browse the repository at this point in the history
Change-Id: If5138fec2ec00f1a88b25d3a32995a703c9aa790
(cherry picked from commit 3997ba6)
  • Loading branch information
Marco Stornelli committed Jun 1, 2020
1 parent a4f788a commit 92df241
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ public IBinding getBinding() {
if (fBinding == null) {
// fParameterOwner is guaranteed to be not null.
ICPPParameter[] parameters = fParameterOwner.getParameters();
fBinding = parameters[fParameterPosition];
if (parameters.length > fParameterPosition) {
fBinding = parameters[fParameterPosition];
}
}
return fBinding;
}
Expand Down

0 comments on commit 92df241

Please sign in to comment.