From 2861370567bde7d426a5dda2b41cda321d050f5f Mon Sep 17 00:00:00 2001 From: Kerma Gérald Date: Mon, 22 Nov 2021 19:10:41 +0100 Subject: crowdsec: update to 1.2.1 crowdsec-firewall-boucer: update to 0.0.16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kerma Gérald --- net/crowdsec/patches/010-fix-32bits-compile.patch | 29 ----------------------- 1 file changed, 29 deletions(-) delete mode 100644 net/crowdsec/patches/010-fix-32bits-compile.patch (limited to 'net/crowdsec/patches') diff --git a/net/crowdsec/patches/010-fix-32bits-compile.patch b/net/crowdsec/patches/010-fix-32bits-compile.patch deleted file mode 100644 index 58426826c..000000000 --- a/net/crowdsec/patches/010-fix-32bits-compile.patch +++ /dev/null @@ -1,29 +0,0 @@ -Author: Kerma Gérald -Date: Mon Sep 20 10:34:20 2021 +0200 - - Use math.MaxInt32 instead of math.MaxUint32 - - To fix 32 bits compilation in v1.2.0 - https://github.com/crowdsecurity/crowdsec/issues/979 - - Signed-off-by: Kerma Gérald - ---- a/pkg/csplugin/broker.go -+++ b/pkg/csplugin/broker.go -@@ -400,14 +400,14 @@ func getProccessAtr(username string, gro - if err != nil { - return nil, err - } -- if uid < 0 && uid > math.MaxUint32 { -+ if uid < 0 && uid > math.MaxInt32 { - return nil, fmt.Errorf("out of bound uid") - } - gid, err := strconv.Atoi(g.Gid) - if err != nil { - return nil, err - } -- if gid < 0 && gid > math.MaxUint32 { -+ if gid < 0 && gid > math.MaxInt32 { - return nil, fmt.Errorf("out of bound gid") - } - return &syscall.SysProcAttr{ -- cgit v1.2.3