mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Update python/ql/src/semmle/python/frameworks/Flask.qll
Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
@@ -128,7 +128,7 @@ private module FlaskModel {
|
|||||||
private class ClassInstantiation extends InstanceSource, DataFlow::CfgNode {
|
private class ClassInstantiation extends InstanceSource, DataFlow::CfgNode {
|
||||||
override CallNode node;
|
override CallNode node;
|
||||||
|
|
||||||
ClassInstantiation() { node = classRef().getACall().asCfgNode() }
|
ClassInstantiation() { this = classRef().getACall() }
|
||||||
|
|
||||||
override DataFlow::Node getBody() { result.asCfgNode() = node.getArg(0) }
|
override DataFlow::Node getBody() { result.asCfgNode() = node.getArg(0) }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user