From 590010fdac311cc8990ef5c97448d4fec8f29944 Mon Sep 17 00:00:00 2001 From: tidwall Date: Mon, 4 Oct 2021 11:46:58 -0700 Subject: [PATCH] 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 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 85b771d..30ed7f0 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module github.com/tidwall/gjson go 1.12 require ( - github.com/tidwall/match v1.0.3 + github.com/tidwall/match v1.1.0 github.com/tidwall/pretty v1.2.0 ) diff --git a/go.sum b/go.sum index d0afaf4..f4dcaab 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -github.com/tidwall/match v1.0.3 h1:FQUVvBImDutD8wJLN6c5eMzWtjgONK9MwIBCOrUJKeE= -github.com/tidwall/match v1.0.3/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= +github.com/tidwall/match v1.1.0 h1:VfI2e2aXLvytih7WUVyO9uvRC+RcXlaTrMbHuQWnFmk= +github.com/tidwall/match v1.1.0/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=