We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1321cbb commit f3d51e0Copy full SHA for f3d51e0
cpp/ql/src/Security/CWE/CWE-190/ArithmeticUncontrolled.ql
@@ -124,7 +124,7 @@ module UncontrolledArithConfig implements DataFlow::ConfigSig {
124
predicate observeDiffInformedIncrementalMode() { any() }
125
126
Location getASelectedSourceLocation(DataFlow::Node source) {
127
- result = getExpr(source).getLocation()
+ result = [getExpr(source).getLocation(), source.getLocation()]
128
}
129
130
0 commit comments