Skip to content

Commit 2282f70

Browse files
wormi4ok1582130940
authored andcommitted
golang: update to v1.19.2
Includes fixes for security vulnerabilities: * [CVE-2022-27664](GHSA-69cg-p879-7622) net/http: handle server errors after sending GOAWAY * [CVE-2022-32190](golang/go#54385) net/url: JoinPath does not strip relative path components in all circumstances * [CVE-2022-2879](golang/go#54853) archive/tar: unbounded memory consumption when reading headers * [CVE-2022-2880](golang/go#54663) net/http/httputil: ReverseProxy should not forward unparseable query parameters * [CVE-2022-41715](golang/go#55949) regexp/syntax: limit memory used by parsing regexps Addresses the build failure: * openwrt/packages#19613 Signed-off-by: Stanislav Petrashov <[email protected]> Signed-off-by: Tianling Shen <[email protected]>
1 parent 02440dc commit 2282f70

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lang/golang/golang/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
include $(TOPDIR)/rules.mk
99

10-
GO_VERSION_MAJOR_MINOR:=1.18
11-
GO_VERSION_PATCH:=8
10+
GO_VERSION_MAJOR_MINOR:=1.19
11+
GO_VERSION_PATCH:=2
1212

1313
PKG_NAME:=golang
1414
PKG_VERSION:=$(GO_VERSION_MAJOR_MINOR)$(if $(GO_VERSION_PATCH),.$(GO_VERSION_PATCH))
@@ -20,7 +20,7 @@ GO_SOURCE_URLS:=https://dl.google.com/go/ \
2020

2121
PKG_SOURCE:=go$(PKG_VERSION).src.tar.gz
2222
PKG_SOURCE_URL:=$(GO_SOURCE_URLS)
23-
PKG_HASH:=1f79802305015479e77d8c641530bc54ec994657d5c5271e0172eb7118346a12
23+
PKG_HASH:=2ce930d70a931de660fdaf271d70192793b1b240272645bf0275779f6704df6b
2424

2525
PKG_MAINTAINER:=Jeffery To <[email protected]>
2626
PKG_LICENSE:=BSD-3-Clause

lang/golang/golang/patches/001-cmd-link-use-gold-on-ARM-ARM64-only-if-gold-is-available.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Fixes #22040.
1313

1414
--- a/src/cmd/link/internal/ld/lib.go
1515
+++ b/src/cmd/link/internal/ld/lib.go
16-
@@ -1392,25 +1392,20 @@ func (ctxt *Link) hostlink() {
16+
@@ -1502,25 +1502,20 @@ func (ctxt *Link) hostlink() {
1717
}
1818

1919
if ctxt.Arch.InFamily(sys.ARM, sys.ARM64) && buildcfg.GOOS == "linux" {

0 commit comments

Comments
 (0)