Skip to content

Commit 8bb21e1

Browse files
committed
C++: Accept test changes.
1 parent a2cdb9c commit 8bb21e1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-129/semmle/ImproperArrayIndexValidation/ImproperArrayIndexValidation.expected

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,22 @@ edges
44
| test1.c:8:11:8:14 | call to atoi | test1.c:11:9:11:9 | i | provenance | |
55
| test1.c:8:11:8:14 | call to atoi | test1.c:12:9:12:9 | i | provenance | |
66
| test1.c:8:11:8:14 | call to atoi | test1.c:13:9:13:9 | i | provenance | |
7-
| test1.c:8:11:8:14 | call to atoi | test1.c:14:9:14:9 | i | provenance | |
87
| test1.c:9:9:9:9 | i | test1.c:17:16:17:16 | i | provenance | |
98
| test1.c:11:9:11:9 | i | test1.c:33:16:33:16 | i | provenance | |
109
| test1.c:12:9:12:9 | i | test1.c:41:16:41:16 | i | provenance | |
1110
| test1.c:13:9:13:9 | i | test1.c:49:16:49:16 | i | provenance | |
12-
| test1.c:14:9:14:9 | i | test1.c:59:16:59:16 | i | provenance | |
1311
| test1.c:17:16:17:16 | i | test1.c:19:16:19:16 | i | provenance | |
1412
| test1.c:33:16:33:16 | i | test1.c:34:11:34:11 | i | provenance | |
1513
| test1.c:41:16:41:16 | i | test1.c:42:11:42:11 | i | provenance | |
1614
| test1.c:49:16:49:16 | i | test1.c:52:3:52:7 | ... = ... | provenance | |
1715
| test1.c:52:3:52:7 | ... = ... | test1.c:54:15:54:15 | j | provenance | |
18-
| test1.c:59:16:59:16 | i | test1.c:60:21:60:21 | i | provenance | |
19-
| test1.c:60:21:60:21 | i | test1.c:62:11:62:11 | s | provenance | |
2016
nodes
2117
| test1.c:7:26:7:29 | **argv | semmle.label | **argv |
2218
| test1.c:8:11:8:14 | call to atoi | semmle.label | call to atoi |
2319
| test1.c:9:9:9:9 | i | semmle.label | i |
2420
| test1.c:11:9:11:9 | i | semmle.label | i |
2521
| test1.c:12:9:12:9 | i | semmle.label | i |
2622
| test1.c:13:9:13:9 | i | semmle.label | i |
27-
| test1.c:14:9:14:9 | i | semmle.label | i |
2823
| test1.c:17:16:17:16 | i | semmle.label | i |
2924
| test1.c:19:16:19:16 | i | semmle.label | i |
3025
| test1.c:33:16:33:16 | i | semmle.label | i |
@@ -34,13 +29,9 @@ nodes
3429
| test1.c:49:16:49:16 | i | semmle.label | i |
3530
| test1.c:52:3:52:7 | ... = ... | semmle.label | ... = ... |
3631
| test1.c:54:15:54:15 | j | semmle.label | j |
37-
| test1.c:59:16:59:16 | i | semmle.label | i |
38-
| test1.c:60:21:60:21 | i | semmle.label | i |
39-
| test1.c:62:11:62:11 | s | semmle.label | s |
4032
subpaths
4133
#select
4234
| test1.c:19:16:19:16 | i | test1.c:7:26:7:29 | **argv | test1.c:19:16:19:16 | i | An array indexing expression depends on $@ that might be outside the bounds of the array. | test1.c:7:26:7:29 | **argv | a command-line argument |
4335
| test1.c:34:11:34:11 | i | test1.c:7:26:7:29 | **argv | test1.c:34:11:34:11 | i | An array indexing expression depends on $@ that might be outside the bounds of the array. | test1.c:7:26:7:29 | **argv | a command-line argument |
4436
| test1.c:42:11:42:11 | i | test1.c:7:26:7:29 | **argv | test1.c:42:11:42:11 | i | An array indexing expression depends on $@ that might be outside the bounds of the array. | test1.c:7:26:7:29 | **argv | a command-line argument |
4537
| test1.c:54:15:54:15 | j | test1.c:7:26:7:29 | **argv | test1.c:54:15:54:15 | j | An array indexing expression depends on $@ that might be outside the bounds of the array. | test1.c:7:26:7:29 | **argv | a command-line argument |
46-
| test1.c:62:11:62:11 | s | test1.c:7:26:7:29 | **argv | test1.c:62:11:62:11 | s | An array indexing expression depends on $@ that might be outside the bounds of the array. | test1.c:7:26:7:29 | **argv | a command-line argument |

0 commit comments

Comments
 (0)