8
8
| overflowdestination.cpp:23:45:23:48 | argv indirection | overflowdestination.cpp:30:17:30:20 | arg1 indirection |
9
9
| overflowdestination.cpp:23:45:23:48 | argv indirection | overflowdestination.cpp:30:17:30:20 | arg1 indirection |
10
10
| overflowdestination.cpp:43:8:43:10 | fgets output argument | overflowdestination.cpp:46:15:46:17 | src indirection |
11
+ | overflowdestination.cpp:50:52:50:54 | src indirection | overflowdestination.cpp:53:9:53:12 | memcpy output argument |
11
12
| overflowdestination.cpp:50:52:50:54 | src indirection | overflowdestination.cpp:53:15:53:17 | src indirection |
12
13
| overflowdestination.cpp:50:52:50:54 | src indirection | overflowdestination.cpp:53:15:53:17 | src indirection |
14
+ | overflowdestination.cpp:50:52:50:54 | src indirection | overflowdestination.cpp:54:9:54:12 | memcpy output argument |
15
+ | overflowdestination.cpp:53:9:53:12 | memcpy output argument | overflowdestination.cpp:54:9:54:12 | memcpy output argument |
16
+ | overflowdestination.cpp:54:9:54:12 | memcpy output argument | overflowdestination.cpp:54:9:54:12 | memcpy output argument |
13
17
| overflowdestination.cpp:57:52:57:54 | src indirection | overflowdestination.cpp:64:16:64:19 | src2 indirection |
14
18
| overflowdestination.cpp:57:52:57:54 | src indirection | overflowdestination.cpp:64:16:64:19 | src2 indirection |
15
19
| overflowdestination.cpp:73:8:73:10 | fgets output argument | overflowdestination.cpp:75:30:75:32 | src indirection |
16
20
| overflowdestination.cpp:73:8:73:10 | fgets output argument | overflowdestination.cpp:76:30:76:32 | src indirection |
21
+ | overflowdestination.cpp:75:30:75:32 | overflowdest_test2 output argument | overflowdestination.cpp:76:30:76:32 | src indirection |
17
22
| overflowdestination.cpp:75:30:75:32 | src indirection | overflowdestination.cpp:50:52:50:54 | src indirection |
23
+ | overflowdestination.cpp:75:30:75:32 | src indirection | overflowdestination.cpp:75:30:75:32 | overflowdest_test2 output argument |
18
24
| overflowdestination.cpp:76:30:76:32 | src indirection | overflowdestination.cpp:57:52:57:54 | src indirection |
19
25
nodes
20
26
| main.cpp:6:27:6:30 | argv indirection | semmle.label | argv indirection |
@@ -28,15 +34,20 @@ nodes
28
34
| overflowdestination.cpp:43:8:43:10 | fgets output argument | semmle.label | fgets output argument |
29
35
| overflowdestination.cpp:46:15:46:17 | src indirection | semmle.label | src indirection |
30
36
| overflowdestination.cpp:50:52:50:54 | src indirection | semmle.label | src indirection |
37
+ | overflowdestination.cpp:53:9:53:12 | memcpy output argument | semmle.label | memcpy output argument |
31
38
| overflowdestination.cpp:53:15:53:17 | src indirection | semmle.label | src indirection |
32
39
| overflowdestination.cpp:53:15:53:17 | src indirection | semmle.label | src indirection |
40
+ | overflowdestination.cpp:54:9:54:12 | memcpy output argument | semmle.label | memcpy output argument |
33
41
| overflowdestination.cpp:57:52:57:54 | src indirection | semmle.label | src indirection |
34
42
| overflowdestination.cpp:64:16:64:19 | src2 indirection | semmle.label | src2 indirection |
35
43
| overflowdestination.cpp:64:16:64:19 | src2 indirection | semmle.label | src2 indirection |
36
44
| overflowdestination.cpp:73:8:73:10 | fgets output argument | semmle.label | fgets output argument |
45
+ | overflowdestination.cpp:75:30:75:32 | overflowdest_test2 output argument | semmle.label | overflowdest_test2 output argument |
37
46
| overflowdestination.cpp:75:30:75:32 | src indirection | semmle.label | src indirection |
38
47
| overflowdestination.cpp:76:30:76:32 | src indirection | semmle.label | src indirection |
39
48
subpaths
49
+ | overflowdestination.cpp:75:30:75:32 | src indirection | overflowdestination.cpp:50:52:50:54 | src indirection | overflowdestination.cpp:53:9:53:12 | memcpy output argument | overflowdestination.cpp:75:30:75:32 | overflowdest_test2 output argument |
50
+ | overflowdestination.cpp:75:30:75:32 | src indirection | overflowdestination.cpp:50:52:50:54 | src indirection | overflowdestination.cpp:54:9:54:12 | memcpy output argument | overflowdestination.cpp:75:30:75:32 | overflowdest_test2 output argument |
40
51
#select
41
52
| overflowdestination.cpp:30:2:30:8 | call to strncpy | main.cpp:6:27:6:30 | argv indirection | overflowdestination.cpp:30:17:30:20 | arg1 indirection | To avoid overflow, this operation should be bounded by destination-buffer size, not source-buffer size. |
42
53
| overflowdestination.cpp:30:2:30:8 | call to strncpy | main.cpp:6:27:6:30 | argv indirection | overflowdestination.cpp:30:17:30:20 | arg1 indirection | To avoid overflow, this operation should be bounded by destination-buffer size, not source-buffer size. |
0 commit comments