mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Merge branch 'new_deser_sink' of https://github.com/pwntester/ql into new_deser_sink
This commit is contained in:
@@ -71,7 +71,7 @@ private class SnakeYamlParse extends MethodAccess {
|
||||
SnakeYamlParse() {
|
||||
exists(Method m |
|
||||
m.getDeclaringType() instanceof Yaml and
|
||||
(m.hasName("compose") or m.hasName("composeAll") or m.hasName("load") or m.hasName("loadAll") or m.hasName("loadAs") or m.hasName("parse")) and
|
||||
m.hasName(["compose", "composeAll", "load", "loadAll", "loadAs", "parse"]) and
|
||||
m = this.getMethod()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user