Skip to content

Commit bca536c

Browse files
committed
Merge remote-tracking branch 'origin/main' into js/quality/loop_shift
2 parents 8679151 + 8c2bda3 commit bca536c

File tree

355 files changed

+2689
-1471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

355 files changed

+2689
-1471
lines changed

actions/ql/lib/codeql/actions/security/OutputClobberingQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ private module OutputClobberingConfig implements DataFlow::ConfigSig {
216216
}
217217

218218
predicate observeDiffInformedIncrementalMode() { any() }
219+
220+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
219221
}
220222

221223
/** Tracks flow of unsafe user input that is used to construct and evaluate an environment variable. */

actions/ql/lib/codeql/actions/security/RequestForgeryQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ private module RequestForgeryConfig implements DataFlow::ConfigSig {
1818
predicate isSink(DataFlow::Node sink) { sink instanceof RequestForgerySink }
1919

2020
predicate observeDiffInformedIncrementalMode() { any() }
21+
22+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
2123
}
2224

2325
/** Tracks flow of unsafe user input that is used to construct and evaluate a system command. */

actions/ql/lib/codeql/actions/security/SecretExfiltrationQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ private module SecretExfiltrationConfig implements DataFlow::ConfigSig {
1717
predicate isSink(DataFlow::Node sink) { sink instanceof SecretExfiltrationSink }
1818

1919
predicate observeDiffInformedIncrementalMode() { any() }
20+
21+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
2022
}
2123

2224
/** Tracks flow of unsafe user input that is used in a context where it may lead to a secret exfiltration. */

actions/ql/src/Models/CompositeActionsSinks.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ private module MyConfig implements DataFlow::ConfigSig {
2626
}
2727

2828
predicate observeDiffInformedIncrementalMode() { any() }
29+
30+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
2931
}
3032

3133
module MyFlow = TaintTracking::Global<MyConfig>;

actions/ql/src/Models/CompositeActionsSources.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ private module MyConfig implements DataFlow::ConfigSig {
3636
}
3737

3838
predicate observeDiffInformedIncrementalMode() { any() }
39+
40+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
3941
}
4042

4143
module MyFlow = TaintTracking::Global<MyConfig>;

actions/ql/src/Models/CompositeActionsSummaries.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ private module MyConfig implements DataFlow::ConfigSig {
2727
}
2828

2929
predicate observeDiffInformedIncrementalMode() { any() }
30+
31+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
3032
}
3133

3234
module MyFlow = TaintTracking::Global<MyConfig>;

actions/ql/src/Models/ReusableWorkflowsSinks.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ private module MyConfig implements DataFlow::ConfigSig {
2626
}
2727

2828
predicate observeDiffInformedIncrementalMode() { any() }
29+
30+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
2931
}
3032

3133
module MyFlow = TaintTracking::Global<MyConfig>;

actions/ql/src/Models/ReusableWorkflowsSources.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ private module MyConfig implements DataFlow::ConfigSig {
3636
}
3737

3838
predicate observeDiffInformedIncrementalMode() { any() }
39+
40+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
3941
}
4042

4143
module MyFlow = TaintTracking::Global<MyConfig>;

actions/ql/src/Models/ReusableWorkflowsSummaries.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ private module MyConfig implements DataFlow::ConfigSig {
2727
}
2828

2929
predicate observeDiffInformedIncrementalMode() { any() }
30+
31+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
3032
}
3133

3234
module MyFlow = TaintTracking::Global<MyConfig>;

cpp/ql/src/experimental/Security/CWE/CWE-078/WordexpTainted.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ module WordexpTaintConfig implements DataFlow::ConfigSig {
5050
}
5151

5252
predicate observeDiffInformedIncrementalMode() { any() }
53+
54+
Location getASelectedSourceLocation(DataFlow::Node source) { none() }
5355
}
5456

5557
module WordexpTaint = TaintTracking::Global<WordexpTaintConfig>;

0 commit comments

Comments
 (0)