Skip to content

Commit 37581e4

Browse files
committed
C++: Accept test changes.
1 parent 03a8c20 commit 37581e4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎cpp/ql/test/query-tests/Security/CWE/CWE-311/semmle/tests/CleartextFileWrite.expected‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| test2.cpp:99:3:99:9 | call to fprintf | test2.cpp:98:45:98:52 | password | test2.cpp:99:27:99:32 | *buffer | This write into file 'log' may contain unencrypted data from $@. | test2.cpp:98:45:98:52 | password | this source. |
1212
| test2.cpp:154:2:154:8 | call to fprintf | test2.cpp:153:31:153:38 | password | test2.cpp:154:21:154:22 | *pw | This write into file 'log' may contain unencrypted data from $@. | test2.cpp:153:31:153:38 | password | this source. |
1313
| test2.cpp:168:2:168:8 | call to fprintf | test2.cpp:167:41:167:60 | password | test2.cpp:168:30:168:34 | *call to c_str | This write into file 'log' may contain unencrypted data from $@. | test2.cpp:167:53:167:60 | password | this source. |
14-
| test2.cpp:174:2:174:8 | call to fprintf | test2.cpp:173:28:173:35 | password | test2.cpp:174:26:174:30 | *call to c_str | This write into file 'log' may contain unencrypted data from $@. | test2.cpp:173:28:173:35 | password | this source. |
14+
| test2.cpp:174:2:174:8 | call to fprintf | test2.cpp:173:28:173:35 | *password | test2.cpp:174:26:174:30 | *call to c_str | This write into file 'log' may contain unencrypted data from $@. | test2.cpp:173:28:173:35 | password | this source. |
1515
| test.cpp:45:3:45:7 | call to fputs | test.cpp:45:9:45:19 | thePassword | test.cpp:45:9:45:19 | thePassword | This write into file 'file' may contain unencrypted data from $@. | test.cpp:45:9:45:19 | thePassword | this source. |
1616
| test.cpp:70:35:70:35 | call to operator<< | test.cpp:70:38:70:48 | thePassword | test.cpp:70:38:70:48 | thePassword | This write into file 'mystream' may contain unencrypted data from $@. | test.cpp:70:38:70:48 | thePassword | this source. |
1717
| test.cpp:73:37:73:41 | call to write | test.cpp:70:38:70:48 | thePassword | test.cpp:73:43:73:53 | thePassword | This write into file 'mystream' may contain unencrypted data from $@. | test.cpp:70:38:70:48 | thePassword | this source. |
@@ -39,8 +39,8 @@ edges
3939
| test2.cpp:167:41:167:60 | password | test2.cpp:157:41:157:41 | s | provenance | |
4040
| test2.cpp:167:41:167:60 | password | test2.cpp:167:25:167:39 | call to copy_characters | provenance | TaintFunction |
4141
| test2.cpp:167:41:167:60 | password | test2.cpp:167:41:167:60 | password | provenance | |
42-
| test2.cpp:173:28:173:35 | password | test2.cpp:173:28:173:35 | password | provenance | |
43-
| test2.cpp:173:28:173:35 | password | test2.cpp:174:26:174:30 | *call to c_str | provenance | TaintFunction |
42+
| test2.cpp:173:28:173:35 | *password | test2.cpp:173:28:173:35 | *password | provenance | |
43+
| test2.cpp:173:28:173:35 | *password | test2.cpp:174:26:174:30 | *call to c_str | provenance | TaintFunction |
4444
| test.cpp:70:38:70:48 | thePassword | test.cpp:73:43:73:53 | thePassword | provenance | |
4545
| test.cpp:73:63:73:73 | thePassword | test.cpp:73:43:73:53 | thePassword | provenance | |
4646
nodes
@@ -74,8 +74,8 @@ nodes
7474
| test2.cpp:167:41:167:60 | password | semmle.label | password |
7575
| test2.cpp:167:41:167:60 | password | semmle.label | password |
7676
| test2.cpp:168:30:168:34 | *call to c_str | semmle.label | *call to c_str |
77-
| test2.cpp:173:28:173:35 | password | semmle.label | password |
78-
| test2.cpp:173:28:173:35 | password | semmle.label | password |
77+
| test2.cpp:173:28:173:35 | *password | semmle.label | *password |
78+
| test2.cpp:173:28:173:35 | *password | semmle.label | *password |
7979
| test2.cpp:174:26:174:30 | *call to c_str | semmle.label | *call to c_str |
8080
| test.cpp:45:9:45:19 | thePassword | semmle.label | thePassword |
8181
| test.cpp:70:38:70:48 | thePassword | semmle.label | thePassword |

0 commit comments

Comments
 (0)