mirror of
https://github.com/github/codeql.git
synced 2026-01-29 06:12:58 +01:00
Update SQL.qll
remove package
This commit is contained in:
@@ -235,11 +235,9 @@ module Xorm {
|
||||
/** A model for sinks of XORM. */
|
||||
private class XormSink extends SQL::QueryString::Range {
|
||||
XormSink() {
|
||||
exists(Method meth, string package, string type, string name, int n |
|
||||
meth.hasQualifiedName(package, type, name) and
|
||||
exists(Method meth, string type, string name, int n |
|
||||
meth.hasQualifiedName(Xorm::packagePath(), type, name) and
|
||||
this = meth.getACall().getArgument(n) and
|
||||
this.getType().getUnderlyingType() instanceof StringType and
|
||||
package = Xorm::packagePath() and
|
||||
type = ["Engine", "Session"]
|
||||
|
|
||||
name =
|
||||
|
||||
Reference in New Issue
Block a user