Skip to content

Commit f5cfc5e

Browse files
MarkLee131owen-mc
andauthored
Update java/ql/test/query-tests/security/CWE-190/semmle/tests/ArithmeticTainted.java
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com>
1 parent 0c5e89a commit f5cfc5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/ql/test/query-tests/security/CWE-190/semmle/tests/ArithmeticTainted.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ public void main(String[] args) {
119119
test2(data);
120120
test3(data);
121121
test4(data);
122+
boundsCheckGood(null, data, 5);
123+
boundsCheckGood2(null, data, 5);
122124
}
123125
}
124126

0 commit comments

Comments
 (0)