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 {
208208 * A step for creating an array and storing the elements in the array.
209209 */
210210 private class ArrayCreationStep extends DataFlow:: AdditionalFlowStep , DataFlow:: Node {
211- ArrayCreationStep ( ) {
212- this instanceof DataFlow:: ArrayCreationNode
213- }
211+ ArrayCreationStep ( ) { this instanceof DataFlow:: ArrayCreationNode }
214212
215213 override predicate storeStep ( DataFlow:: Node element , DataFlow:: Node obj , string prop ) {
216214 prop = arrayElement ( ) and
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ edges
144144| execSeries.js:18:34:18:40 | req.url | execSeries.js:18:13:18:47 | require ... , true) |
145145| execSeries.js:18:34:18:40 | req.url | execSeries.js:18:13:18:47 | require ... , true) |
146146| 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++] |
147148| execSeries.js:19:13:19:15 | cmd | execSeries.js:19:12:19:16 | [cmd] |
148149| other.js:5:9:5:49 | cmd | other.js:7:33:7:35 | cmd |
149150| 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