Skip to content

Commit 0edf0b2

Browse files
committed
ci: update sus stub
1 parent 03d44fd commit 0edf0b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/codeql/custom-queries-javascript/ShellSanitizer.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ module UtilSanitizerConfig implements DataFlow::ConfigSig {
99
predicate isBarrier(DataFlow::Node nd) {
1010
nd.(DataFlow::CallNode).getCalleeName() = "sanitizeShellArg"
1111
}
12-
/** Minimal stubs required by ConfigSig (false should be no extra action). */
13-
predicate isSource(DataFlow::Node n) { false }
14-
predicate isSink(DataFlow::Node n) { false }
12+
/** Minimal stubs required by ConfigSig */
13+
predicate isSource(DataFlow::Node n) { n = n }
14+
predicate isSink(DataFlow::Node n) { n = n }
1515
}
1616

1717
module UtilSanitizerConfigFlow = TaintTracking::Global<UtilSanitizerConfig>;

0 commit comments

Comments
 (0)