File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
test/query-tests/Security/CWE-078 Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -208,9 +208,7 @@ private module ArrayDataFlow {
208
208
* A step for creating an array and storing the elements in the array.
209
209
*/
210
210
private class ArrayCreationStep extends DataFlow:: AdditionalFlowStep , DataFlow:: Node {
211
- ArrayCreationStep ( ) {
212
- this instanceof DataFlow:: ArrayCreationNode
213
- }
211
+ ArrayCreationStep ( ) { this instanceof DataFlow:: ArrayCreationNode }
214
212
215
213
override predicate storeStep ( DataFlow:: Node element , DataFlow:: Node obj , string prop ) {
216
214
prop = arrayElement ( ) and
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ edges
144
144
| execSeries.js:18:34:18:40 | req.url | execSeries.js:18:13:18:47 | require ... , true) |
145
145
| execSeries.js:18:34:18:40 | req.url | execSeries.js:18:13:18:47 | require ... , true) |
146
146
| execSeries.js:19:12:19:16 | [cmd] | execSeries.js:13:19:13:26 | commands |
147
+ | execSeries.js:19:13:19:15 | cmd | execSeries.js:6:14:6:21 | arr[i++] |
147
148
| execSeries.js:19:13:19:15 | cmd | execSeries.js:19:12:19:16 | [cmd] |
148
149
| other.js:5:9:5:49 | cmd | other.js:7:33:7:35 | cmd |
149
150
| other.js:5:9:5:49 | cmd | other.js:7:33:7:35 | cmd |
You can’t perform that action at this time.
0 commit comments