pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang go118: update to 1.18.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/a0b2bcb49b5f
branches: trunk
changeset: 376769:a0b2bcb49b5f
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Wed Apr 13 07:46:56 2022 +0000
description:
go118: update to 1.18.1
This minor release includes three security fixes following the security policy:
- encoding/pem: fix stack overflow in Decode
A large (more than 5 MB) PEM input can cause a stack overflow in Decode,
leading the program to crash.
Thanks to Juho Nurminen of Mattermost who reported the error.
This is CVE-2022-24675 and https://go.dev/issue/51853.
- crypto/elliptic: tolerate all oversized scalars in generic P-256
A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or
P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and
crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.
This was discovered thanks to a Project Wycheproof test vector.
This is CVE-2022-28327 and https://go.dev/issue/52075.
- crypto/x509: non-compliant certificates can cause a panic in Verify on macOS in Go 1.18
Verifying certificate chains containing certificates which are not compliant
with RFC 5280 causes Certificate.Verify to panic on macOS.
These chains can be delivered through TLS and can cause a crypto/tls or
net/http client to crash.
Thanks to Tailscale for doing weird things and finding this.
This is CVE-2022-27536 and https://go.dev/issue/51759.
diffstat:
lang/go/version.mk | 4 ++--
lang/go118/PLIST | 19 ++++++++++++++++++-
lang/go118/distinfo | 8 ++++----
3 files changed, 24 insertions(+), 7 deletions(-)
diffs (116 lines):
diff -r fd8a19a6bd31 -r a0b2bcb49b5f lang/go/version.mk
--- a/lang/go/version.mk Wed Apr 13 07:41:00 2022 +0000
+++ b/lang/go/version.mk Wed Apr 13 07:46:56 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.145 2022/04/13 07:36:53 bsiegert Exp $
+# $NetBSD: version.mk,v 1.146 2022/04/13 07:46:56 bsiegert Exp $
#
# If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -6,7 +6,7 @@
#
.include "go-vars.mk"
-GO118_VERSION= 1.18
+GO118_VERSION= 1.18.1
GO117_VERSION= 1.17.9
GO116_VERSION= 1.16.15
GO110_VERSION= 1.10.8
diff -r fd8a19a6bd31 -r a0b2bcb49b5f lang/go118/PLIST
--- a/lang/go118/PLIST Wed Apr 13 07:41:00 2022 +0000
+++ b/lang/go118/PLIST Wed Apr 13 07:46:56 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/03/15 20:13:45 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/04/13 07:46:56 bsiegert Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go118/AUTHORS
@@ -305,6 +305,9 @@
go118/misc/cgo/testplugin/testdata/method2/main.go
go118/misc/cgo/testplugin/testdata/method2/p/p.go
go118/misc/cgo/testplugin/testdata/method2/plugin.go
+go118/misc/cgo/testplugin/testdata/method3/main.go
+go118/misc/cgo/testplugin/testdata/method3/p/p.go
+go118/misc/cgo/testplugin/testdata/method3/plugin.go
go118/misc/cgo/testplugin/testdata/plugin1/plugin1.go
go118/misc/cgo/testplugin/testdata/plugin2/plugin2.go
go118/misc/cgo/testplugin/testdata/sub/plugin1/plugin1.go
@@ -1864,6 +1867,8 @@
go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51509.go
go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51578.go2
go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51593.go2
+go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51607.go2
+go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue51658.go2
go118/src/cmd/compile/internal/types2/testdata/fixedbugs/issue6977.src
go118/src/cmd/compile/internal/types2/testdata/manual.go2
go118/src/cmd/compile/internal/types2/testdata/spec/assignability.go2
@@ -2922,6 +2927,7 @@
go118/src/cmd/go/testdata/script/test_benchmark_labels.txt
go118/src/cmd/go/testdata/script/test_benchmark_timeout.txt
go118/src/cmd/go/testdata/script/test_build_failure.txt
+go118/src/cmd/go/testdata/script/test_buildvcs.txt
go118/src/cmd/go/testdata/script/test_cache_inputs.txt
go118/src/cmd/go/testdata/script/test_chatty_fail.txt
go118/src/cmd/go/testdata/script/test_chatty_parallel_fail.txt
@@ -3079,6 +3085,7 @@
go118/src/cmd/go/testdata/script/work_use_dot.txt
go118/src/cmd/go/testdata/script/work_use_issue50958.txt
go118/src/cmd/go/testdata/script/work_use_noargs.txt
+go118/src/cmd/go/testdata/script/work_use_only_dirs.txt
go118/src/cmd/go/testdata/script/work_vet.txt
go118/src/cmd/go/testdata/script/work_why_download_graph.txt
go118/src/cmd/go/testdata/testterminal18153/terminal_test.go
@@ -5487,6 +5494,8 @@
go118/src/go/types/testdata/fixedbugs/issue51509.go
go118/src/go/types/testdata/fixedbugs/issue51578.go2
go118/src/go/types/testdata/fixedbugs/issue51593.go2
+go118/src/go/types/testdata/fixedbugs/issue51658.go2
+go118/src/go/types/testdata/fixedbugs/issue52031.go
go118/src/go/types/testdata/fixedbugs/issue6977.src
go118/src/go/types/testdata/manual.go2
go118/src/go/types/testdata/spec/assignability.go2
@@ -10758,6 +10767,7 @@
go118/test/fixedbugs/issue51531.go
go118/test/fixedbugs/issue5162.go
go118/test/fixedbugs/issue5172.go
+go118/test/fixedbugs/issue51839.go
go118/test/fixedbugs/issue5231.go
go118/test/fixedbugs/issue5244.go
go118/test/fixedbugs/issue5259.dir/bug.go
@@ -11602,6 +11612,12 @@
go118/test/typeparam/issue51423.go
go118/test/typeparam/issue51522a.go
go118/test/typeparam/issue51522b.go
+go118/test/typeparam/issue51733.go
+go118/test/typeparam/issue51765.go
+go118/test/typeparam/issue51836.dir/a.go
+go118/test/typeparam/issue51836.dir/aa.go
+go118/test/typeparam/issue51836.dir/p.go
+go118/test/typeparam/issue51836.go
go118/test/typeparam/list.go
go118/test/typeparam/list2.go
go118/test/typeparam/listimp.dir/a.go
@@ -11630,6 +11646,7 @@
go118/test/typeparam/mdempsky/12.dir/main.go
go118/test/typeparam/mdempsky/12.go
go118/test/typeparam/mdempsky/13.go
+go118/test/typeparam/mdempsky/13b.go
go118/test/typeparam/mdempsky/14.go
go118/test/typeparam/mdempsky/15.go
go118/test/typeparam/mdempsky/2.go
diff -r fd8a19a6bd31 -r a0b2bcb49b5f lang/go118/distinfo
--- a/lang/go118/distinfo Wed Apr 13 07:41:00 2022 +0000
+++ b/lang/go118/distinfo Wed Apr 13 07:46:56 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2022/03/15 20:13:45 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2022/04/13 07:46:56 bsiegert Exp $
-BLAKE2s (go1.18.src.tar.gz) = bb3191d44e8be480f71521ff0cbddc9de797736a9e945507c0152cd203e09279
-SHA512 (go1.18.src.tar.gz) = f10356df9099e4d027415be5c73bd2551f2f941a31feb21e1ccc03b7d8faa1844f0a639a508e990712e11ec335675e57504edb323fa1eee63e1d09b8523b3b0d
-Size (go1.18.src.tar.gz) = 22827832 bytes
+BLAKE2s (go1.18.1.src.tar.gz) = 90afdcd66edadc9f649954af31f4dbfd116b2e94f4c2815f089766cc55c706bb
+SHA512 (go1.18.1.src.tar.gz) = baa053e2d713b235b9285c946b4f0842085a5224d1f4cbe92a446fbf97ed9f7289c8d4ba212fb31dd2e4eac39bb4c015f478543a1856594c2d1fc331c946f571
+Size (go1.18.1.src.tar.gz) = 22834149 bytes
SHA1 (patch-misc_ios_clangwrap.sh) = 0a06403609cb7bce2e6f65444fd322f486761afe
SHA1 (patch-src_cmd_dist_util.go) = 2d9c2f59e27672d56f5f1a0e3f9d5101a05546a7
SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35
Home |
Main Index |
Thread Index |
Old Index