Commit Graph

7 Commits

Author SHA1 Message Date
tidwall 77a57fda87 Limit the complexity of "like" queries that match on a pattern.
This commit adds the uses the MatchLimit function, which it the
same as Match but will limit the complexity of the input pattern.
This is to avoid long running matches, specifically to avoid ReDos
attacks from arbritary inputs.
2021-10-08 07:42:49 -07:00
tidwall 590010fdac Update match dependency
This commit updates the github.com/tidwall/match library, which
address an issue where it's possible to produce a ReDos attack.

fixes #236
2021-10-04 11:46:58 -07:00
tidwall 61273bfa66 Update dependency 2021-09-15 05:37:28 -07:00
zepatrik 2d7fa902d3
Bump pretty
especially to include c41759c9c4
2021-03-22 20:09:24 +01:00
tidwall 9f58baa7a6 Update the match package
This commit updates the match package to v1.0.3, which includes
a fix to an issue where a pattern with lots of repetitive stars
will increasingly slow down a Match operation.

Fixes #195
2020-12-23 05:00:23 -07:00
tidwall 45d8d3b98f Updated pretty package 2020-08-28 08:14:33 -07:00
Josh Baker 40764d5d56 Added Go modules support 2019-06-05 16:41:31 -07:00