mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Add webix copy function
This commit is contained in:
@@ -97,7 +97,7 @@ private class ExtendCallDeep extends ExtendCall {
|
||||
callee = LodashUnderscore::member("mergeWith") or
|
||||
callee = LodashUnderscore::member("defaultsDeep") or
|
||||
callee = AngularJS::angular().getAPropertyRead("merge") or
|
||||
callee = DataFlow::moduleImport("webix").getAPropertyRead("extend")
|
||||
callee = DataFlow::moduleImport("webix").getAPropertyRead(["extend", "copy"])
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ module PrototypePollution {
|
||||
id = "angular"
|
||||
or
|
||||
call.isDeep() and
|
||||
call = DataFlow::moduleImport("webix").getAMemberCall("extend") and
|
||||
call = DataFlow::moduleImport("webix").getAMemberCall(["extend", "copy"]) and
|
||||
id = "webix"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user