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.
2 parents 9aefdca + 560b355 commit 2280469Copy full SHA for 2280469
csharp/ql/src/Security Features/CWE-134/UncontrolledFormatString.ql
@@ -17,9 +17,7 @@ import semmle.code.csharp.frameworks.Format
17
import FormatString::PathGraph
18
19
module FormatStringConfig implements DataFlow::ConfigSig {
20
- predicate isSource(DataFlow::Node source) {
21
- source instanceof ThreatModelFlowSource or source instanceof LocalFlowSource
22
- }
+ predicate isSource(DataFlow::Node source) { source instanceof ThreatModelFlowSource }
23
24
predicate isSink(DataFlow::Node sink) {
25
sink.asExpr() = any(FormatCall call | call.hasInsertions()).getFormatExpr()
0 commit comments