File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/src/Security/CWE/CWE-313 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,13 @@ module FromSensitiveConfig implements DataFlow::ConfigSig {
127127 predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
128128
129129 Location getASelectedSourceLocation ( DataFlow:: Node source ) {
130- exists ( SensitiveExpr sensitive | result = sensitive .getLocation ( ) |
130+ exists ( SensitiveExpr sensitive | result = [ sensitive .getLocation ( ) , source . getLocation ( ) ] |
131131 isSourceImpl ( source , sensitive )
132132 )
133133 }
134134
135135 Location getASelectedSinkLocation ( DataFlow:: Node sink ) {
136- exists ( SqliteFunctionCall sqliteCall | result = sqliteCall .getLocation ( ) |
136+ exists ( SqliteFunctionCall sqliteCall | result = [ sqliteCall .getLocation ( ) , sink . getLocation ( ) ] |
137137 isSinkImpl ( sink , sqliteCall , _)
138138 )
139139 }
You can’t perform that action at this time.
0 commit comments