Files
codeql/java/ql/test/query-tests/security/CWE-190/semmle/tests/ArithmeticUncontrolled.expected
Anders Schack-Mulligen deb61d6f29 Java: Update test output.
2018-11-16 13:48:50 +01:00

7 lines
712 B
Plaintext

edges
| Test.java:205:14:205:57 | nextInt(...) [Number] | Test.java:209:17:209:20 | data |
| Test.java:205:14:205:57 | nextInt(...) [Number] | Test.java:240:37:240:40 | data |
#select
| Test.java:209:17:209:24 | ... + ... | Test.java:205:14:205:57 | nextInt(...) [Number] | Test.java:209:17:209:20 | data | $@ flows to here and is used in arithmetic, potentially causing an overflow. | Test.java:205:14:205:57 | nextInt(...) | Uncontrolled value |
| Test.java:240:37:240:46 | ... + ... | Test.java:205:14:205:57 | nextInt(...) [Number] | Test.java:240:37:240:40 | data | $@ flows to here and is used in arithmetic, potentially causing an overflow. | Test.java:205:14:205:57 | nextInt(...) | Uncontrolled value |