Skip to content

Commit f8e6ba6

Browse files
committed
Python: Fix .expected for new subpaths query predicate
1 parent c7c8e2f commit f8e6ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/test/query-tests/Security/CWE-089-SQLAlchemyTextClauseInjection/SQLAlchemyTextClauseInjection.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ nodes
2525
| test.py:48:52:48:59 | ControlFlowNode for username | semmle.label | ControlFlowNode for username |
2626
| test.py:50:18:50:25 | ControlFlowNode for username | semmle.label | ControlFlowNode for username |
2727
| test.py:51:24:51:31 | ControlFlowNode for username | semmle.label | ControlFlowNode for username |
28+
subpaths
2829
#select
2930
| test.py:27:28:27:87 | ControlFlowNode for Attribute() | test.py:23:15:23:22 | ControlFlowNode for username | test.py:27:28:27:87 | ControlFlowNode for Attribute() | This SQLAlchemy TextClause depends on $@, which could lead to SQL injection. | test.py:23:15:23:22 | ControlFlowNode for username | a user-provided value |
3031
| test.py:31:50:31:72 | ControlFlowNode for Attribute() | test.py:23:15:23:22 | ControlFlowNode for username | test.py:31:50:31:72 | ControlFlowNode for Attribute() | This SQLAlchemy TextClause depends on $@, which could lead to SQL injection. | test.py:23:15:23:22 | ControlFlowNode for username | a user-provided value |

0 commit comments

Comments
 (0)