|
6 | 6 | | test.c:106:24:106:29 | query1 | test.c:101:8:101:16 | gets output argument | test.c:106:24:106:29 | query1 | This argument to a SQL query function is derived from $@. | test.c:101:8:101:16 | gets output argument | user input (string read by gets) | |
7 | 7 | | test.c:107:28:107:33 | query1 | test.c:101:8:101:16 | gets output argument | test.c:107:28:107:33 | query1 | This argument to a SQL query function is derived from $@. | test.c:101:8:101:16 | gets output argument | user input (string read by gets) | |
8 | 8 | | test.cpp:43:27:43:33 | *access to array | test.cpp:39:27:39:30 | **argv | test.cpp:43:27:43:33 | *access to array | This argument to a SQL query function is derived from $@ and then passed to pqxx::work::exec1((unnamed parameter 0)). | test.cpp:39:27:39:30 | **argv | user input (a command-line argument) | |
| 9 | +| test_comdb2.c:22:28:22:36 | userInput | test_comdb2.c:18:8:18:16 | gets output argument | test_comdb2.c:22:28:22:36 | userInput | This argument to a SQL query function is derived from $@. | test_comdb2.c:18:8:18:16 | gets output argument | user input (string read by gets) | |
| 10 | +| test_comdb2.c:23:34:23:42 | userInput | test_comdb2.c:18:8:18:16 | gets output argument | test_comdb2.c:23:34:23:42 | userInput | This argument to a SQL query function is derived from $@. | test_comdb2.c:18:8:18:16 | gets output argument | user input (string read by gets) | |
9 | 11 | | test_libpq.c:26:16:26:24 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:26:16:26:24 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
10 | 12 | | test_libpq.c:27:22:27:30 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:27:22:27:30 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
11 | 13 | | test_libpq.c:28:27:28:35 | userInput | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:28:27:28:35 | userInput | This argument to a SQL query function is derived from $@. | test_libpq.c:23:8:23:16 | gets output argument | user input (string read by gets) | |
|
26 | 28 | | test.c:101:8:101:16 | gets output argument | test.c:106:24:106:29 | query1 | provenance | TaintFunction Sink:MaD:2 | |
27 | 29 | | test.c:101:8:101:16 | gets output argument | test.c:107:28:107:33 | query1 | provenance | TaintFunction Sink:MaD:1 | |
28 | 30 | | test.cpp:39:27:39:30 | **argv | test.cpp:43:27:43:33 | *access to array | provenance | | |
| 31 | +| test_comdb2.c:18:8:18:16 | gets output argument | test_comdb2.c:22:28:22:36 | userInput | provenance | Sink:MaD:9 | |
| 32 | +| test_comdb2.c:18:8:18:16 | gets output argument | test_comdb2.c:23:34:23:42 | userInput | provenance | Sink:MaD:10 | |
29 | 33 | | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:26:16:26:24 | userInput | provenance | Sink:MaD:3 | |
30 | 34 | | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:27:22:27:30 | userInput | provenance | Sink:MaD:4 | |
31 | 35 | | test_libpq.c:23:8:23:16 | gets output argument | test_libpq.c:28:27:28:35 | userInput | provenance | Sink:MaD:5 | |
|
41 | 45 | | 6 | Sink: ; ; false; PQsendPrepare; ; ; Argument[*2]; sql-injection; manual | |
42 | 46 | | 7 | Sink: ; ; false; PQsendQuery; ; ; Argument[*1]; sql-injection; manual | |
43 | 47 | | 8 | Sink: ; ; false; PQsendQueryParams; ; ; Argument[*1]; sql-injection; manual | |
| 48 | +| 9 | Sink: ; ; false; cdb2_run_statement; ; ; Argument[*1]; sql-injection; manual | |
| 49 | +| 10 | Sink: ; ; false; cdb2_run_statement_typed; ; ; Argument[*1]; sql-injection; manual | |
44 | 50 | nodes |
45 | 51 | | test.c:14:27:14:30 | **argv | semmle.label | **argv | |
46 | 52 | | test.c:15:20:15:26 | *access to array | semmle.label | *access to array | |
|
59 | 65 | | test.c:107:28:107:33 | query1 | semmle.label | query1 | |
60 | 66 | | test.cpp:39:27:39:30 | **argv | semmle.label | **argv | |
61 | 67 | | test.cpp:43:27:43:33 | *access to array | semmle.label | *access to array | |
| 68 | +| test_comdb2.c:18:8:18:16 | gets output argument | semmle.label | gets output argument | |
| 69 | +| test_comdb2.c:22:28:22:36 | userInput | semmle.label | userInput | |
| 70 | +| test_comdb2.c:23:34:23:42 | userInput | semmle.label | userInput | |
62 | 71 | | test_libpq.c:23:8:23:16 | gets output argument | semmle.label | gets output argument | |
63 | 72 | | test_libpq.c:26:16:26:24 | userInput | semmle.label | userInput | |
64 | 73 | | test_libpq.c:27:22:27:30 | userInput | semmle.label | userInput | |
|
0 commit comments