Skip to content

Commit cd4bbc0

Browse files
committed
Revert "C++: Accept test changes after CodeQL scanf work"
This reverts commit 760ccde. This was prematurely included, but was only shipped in 2.12.*.
1 parent caa3125 commit cd4bbc0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
edges
2+
| test.c:20:15:20:23 | file_name | test.c:21:8:21:16 | file_name indirection |
23
| 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 |
35
| test.c:45:15:45:23 | scanf output argument | test.c:46:29:46:37 | file_name indirection |
46
nodes
7+
| test.c:20:15:20:23 | file_name | semmle.label | file_name |
58
| test.c:20:15:20:23 | scanf output argument | semmle.label | scanf output argument |
69
| 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 |
711
| test.c:45:15:45:23 | scanf output argument | semmle.label | scanf output argument |
812
| test.c:46:29:46:37 | file_name indirection | semmle.label | file_name indirection |
913
subpaths
1014
#select
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) |
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) |

0 commit comments

Comments
 (0)