mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
JS: Restrict length of state path in vuex model
This commit is contained in:
@@ -289,7 +289,8 @@ module Vuex {
|
||||
or
|
||||
exists(string base, string prop |
|
||||
result = stateRefByAccessPath(base).getMember(prop) and
|
||||
path = appendToNamespace(base, prop)
|
||||
path = appendToNamespace(base, prop) and
|
||||
path.length() < 100
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user