You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the LGTM rule (click that link to see detailed rule):
Some regular expressions take a long time to match certain input strings to the point where the time it takes to match a string of length n is proportional to nk or even 2n. Such regular expressions can negatively affect performance, or even allow a malicious user to perform a Denial of Service ("DoS") attack by crafting an expensive input string for the regular expression to match.
This part of the regular expression may cause exponential backtracking on strings starting with
'{!,'
and containing many repetitions of'!,'
.flourite/src/languages/lua.ts
Line 30 in 313def7
This part of the regular expression may cause exponential backtracking on strings starting with
'{!=!,'
and containing many repetitions of'!=!,'
.flourite/src/languages/lua.ts
Line 32 in 313def7
According to the LGTM rule (click that link to see detailed rule):
Some regular expressions take a long time to match certain input strings to the point where the time it takes to match a string of length n is proportional to nk or even 2n. Such regular expressions can negatively affect performance, or even allow a malicious user to perform a Denial of Service ("DoS") attack by crafting an expensive input string for the regular expression to match.
See LGTM for the detailed issue.
The text was updated successfully, but these errors were encountered: