Skip to content

Commit 760ccde

Browse files
committed
C++: Accept test changes after CodeQL scanf work
1 parent 73c9ffc commit 760ccde

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
edges
2-
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name indirection |
32
| test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | file_name indirection |
4-
| test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name indirection |
53
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | file_name indirection |
64
nodes
7-
| test.c:20:15:20:23 | file_name | semmle.label | file_name |
85
| test.c:20:15:20:23 | scanf output argument | semmle.label | scanf output argument |
96
| test.c:21:8:21:16 | file_name indirection | semmle.label | file_name indirection |
10-
| test.c:45:15:45:23 | file_name | semmle.label | file_name |
117
| test.c:45:15:45:23 | scanf output argument | semmle.label | scanf output argument |
128
| test.c:46:29:46:37 | file_name indirection | semmle.label | file_name indirection |
139
subpaths
1410
#select
15-
| test.c:21:8:21:16 | file_name | test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name indirection | This argument to a file access function is derived from $@ and then passed to func(file_name), which calls fopen((unnamed parameter 0)). | test.c:20:15:20:23 | file_name | user input (scanf) |
16-
| test.c:46:29:46:37 | file_name | test.c:45:15:45:23 | file_name | test.c:46:29:46:37 | file_name indirection | This argument to a file access function is derived from $@ and then passed to CreateFile(lpFileName). | test.c:45:15:45:23 | file_name | user input (scanf) |
11+
| test.c:21:8:21:16 | file_name | test.c:20:15:20:23 | scanf output argument | test.c:21:8:21:16 | file_name indirection | This argument to a file access function is derived from $@ and then passed to func(file_name), which calls fopen((unnamed parameter 0)). | test.c:20:15:20:23 | file_name | user input (scanf) |
12+
| test.c:46:29:46:37 | file_name | test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | file_name indirection | This argument to a file access function is derived from $@ and then passed to CreateFile(lpFileName). | test.c:45:15:45:23 | file_name | user input (scanf) |

0 commit comments

Comments
 (0)