Skip to content

Commit 8fd8487

Browse files
committed
C++: Fix test failure.
1 parent 902fa7d commit 8fd8487

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/tainted/ArithmeticTainted.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ nodes
5656
| test.c:54:7:54:10 | len3 | semmle.label | len3 |
5757
| test.c:54:7:54:10 | len3 | semmle.label | len3 |
5858
| test.c:54:7:54:10 | len3 | semmle.label | len3 |
59+
subpaths
5960
#select
6061
| test2.cpp:14:11:14:11 | v | test2.cpp:25:22:25:23 | & ... | test2.cpp:14:11:14:11 | v | $@ flows to here and is used in arithmetic, potentially causing an overflow. | test2.cpp:25:22:25:23 | & ... | User-provided value |
6162
| test2.cpp:14:11:14:11 | v | test2.cpp:25:22:25:23 | & ... | test2.cpp:14:11:14:11 | v | $@ flows to here and is used in arithmetic, potentially causing an underflow. | test2.cpp:25:22:25:23 | & ... | User-provided value |

0 commit comments

Comments
 (0)