pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang
Module Name: pkgsrc
Committed By: bsiegert
Date: Thu Jun 13 12:49:40 UTC 2024
Modified Files:
pkgsrc/lang/go: version.mk
pkgsrc/lang/go121: PLIST distinfo
pkgsrc/lang/go121/patches: patch-src_syscall_zerrors__solaris__amd64.go
Log Message:
go121: update to 1.21.11 (security)
This minor release includes 2 security fixes following the security policy:
- archive/zip: mishandling of corrupt central directory record
The archive/zip package's handling of certain types of invalid zip files
differed from the behavior of most zip implementations. This misalignment
could be exploited to create an zip file with contents that vary depending on
the implementation reading the file. The archive/zip package now rejects
files containing these errors.
Thanks to Yufan You (@ouuan) for reporting this issue.
This is CVE-2024-24789 and Go issue https://go.dev/issue/66869.
- net/netip: unexpected behavior from Is methods for IPv4-mapped IPv6 addresses
The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected
for IPv4-mapped IPv6 addresses, returning false for addresses which would
return true in their traditional IPv4 forms.
Thanks to Enze Wang of Alioth (@zer0yu) and Jianjun Chen of Zhongguancun Lab
(@chenjj) for reporting this issue.
This is CVE-2024-24790 and Go issue https://go.dev/issue/67680.
To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 pkgsrc/lang/go/version.mk
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/go121/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/go121/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/lang/go121/patches/patch-src_syscall_zerrors__solaris__amd64.go
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/go/version.mk
diff -u pkgsrc/lang/go/version.mk:1.208 pkgsrc/lang/go/version.mk:1.209
--- pkgsrc/lang/go/version.mk:1.208 Sat Jun 1 10:40:02 2024
+++ pkgsrc/lang/go/version.mk Thu Jun 13 12:49:39 2024
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.208 2024/06/01 10:40:02 bsiegert Exp $
+# $NetBSD: version.mk,v 1.209 2024/06/13 12:49:39 bsiegert Exp $
#
# If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -7,7 +7,7 @@
.include "go-vars.mk"
GO122_VERSION= 1.22.3
-GO121_VERSION= 1.21.10
+GO121_VERSION= 1.21.11
GO120_VERSION= 1.20.14
GO119_VERSION= 1.19.13
GO118_VERSION= 1.18.10
Index: pkgsrc/lang/go121/PLIST
diff -u pkgsrc/lang/go121/PLIST:1.10 pkgsrc/lang/go121/PLIST:1.11
--- pkgsrc/lang/go121/PLIST:1.10 Tue May 7 18:18:05 2024
+++ pkgsrc/lang/go121/PLIST Thu Jun 13 12:49:39 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2024/05/07 18:18:05 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.11 2024/06/13 12:49:39 bsiegert Exp $
bin/go${GOVERSSUFFIX}
bin/gofmt${GOVERSSUFFIX}
go121/CONTRIBUTING.md
@@ -163,6 +163,7 @@ go121/src/archive/zip/reader.go
go121/src/archive/zip/reader_test.go
go121/src/archive/zip/register.go
go121/src/archive/zip/struct.go
+go121/src/archive/zip/testdata/comment-truncated.zip
go121/src/archive/zip/testdata/crc32-not-streamed.zip
go121/src/archive/zip/testdata/dd.zip
go121/src/archive/zip/testdata/dupdir.zip
@@ -2170,6 +2171,7 @@ go121/src/cmd/go/testdata/script/get_int
go121/src/cmd/go/testdata/script/get_issue11307.txt
go121/src/cmd/go/testdata/script/get_issue16471.txt
go121/src/cmd/go/testdata/script/get_issue22125.txt
+go121/src/cmd/go/testdata/script/get_issue53955.txt
go121/src/cmd/go/testdata/script/get_legacy.txt
go121/src/cmd/go/testdata/script/get_non_pkg.txt
go121/src/cmd/go/testdata/script/get_race.txt
@@ -2196,6 +2198,7 @@ go121/src/cmd/go/testdata/script/gopath_
go121/src/cmd/go/testdata/script/gopath_vendor_dup_err.txt
go121/src/cmd/go/testdata/script/goroot_executable.txt
go121/src/cmd/go/testdata/script/goroot_executable_trimpath.txt
+go121/src/cmd/go/testdata/script/gotoolchain_issue66175.txt
go121/src/cmd/go/testdata/script/gotoolchain_local.txt
go121/src/cmd/go/testdata/script/gotoolchain_loop.txt
go121/src/cmd/go/testdata/script/gotoolchain_modcmds.txt
@@ -4597,7 +4600,6 @@ go121/src/crypto/x509/root.go
go121/src/crypto/x509/root_aix.go
go121/src/crypto/x509/root_bsd.go
go121/src/crypto/x509/root_darwin.go
-go121/src/crypto/x509/root_darwin_test.go
go121/src/crypto/x509/root_linux.go
go121/src/crypto/x509/root_plan9.go
go121/src/crypto/x509/root_solaris.go
@@ -4606,7 +4608,6 @@ go121/src/crypto/x509/root_unix.go
go121/src/crypto/x509/root_unix_test.go
go121/src/crypto/x509/root_wasm.go
go121/src/crypto/x509/root_windows.go
-go121/src/crypto/x509/root_windows_test.go
go121/src/crypto/x509/sec1.go
go121/src/crypto/x509/sec1_test.go
go121/src/crypto/x509/test-file.crt
@@ -11641,6 +11642,7 @@ go121/test/fixedbugs/issue6703w.go
go121/test/fixedbugs/issue6703x.go
go121/test/fixedbugs/issue6703y.go
go121/test/fixedbugs/issue6703z.go
+go121/test/fixedbugs/issue67160.go
go121/test/fixedbugs/issue6750.go
go121/test/fixedbugs/issue6772.go
go121/test/fixedbugs/issue6789.dir/a.go
Index: pkgsrc/lang/go121/distinfo
diff -u pkgsrc/lang/go121/distinfo:1.13 pkgsrc/lang/go121/distinfo:1.14
--- pkgsrc/lang/go121/distinfo:1.13 Tue May 7 18:18:05 2024
+++ pkgsrc/lang/go121/distinfo Thu Jun 13 12:49:39 2024
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.13 2024/05/07 18:18:05 bsiegert Exp $
+$NetBSD: distinfo,v 1.14 2024/06/13 12:49:39 bsiegert Exp $
-BLAKE2s (go1.21.10.src.tar.gz) = 5203975dc6fd4bfc94a20962873f586d144d360cf375c373e060b87a58311fa0
-SHA512 (go1.21.10.src.tar.gz) = 90105f977c86a0d5ea4d31e4e699d8611a74178db1e443ddc57679b7a2a648baa328e7fa9ea4a732727487cc29afe07e9597a1e2eb0184cb270973f403349f5a
-Size (go1.21.10.src.tar.gz) = 26993576 bytes
+BLAKE2s (go1.21.11.src.tar.gz) = 1e233c7060f761dca6e361fa55ba1a8d33b54c71496fd0df989d052d1ee52fb0
+SHA512 (go1.21.11.src.tar.gz) = dffcef964a4fbe08cd965bcffad6138fab164f14936a83988ced86924f794c1f107c122d1aeb674eacb0a1a498a31bdf83ea8f87b352494fa69f6e38931d2120
+Size (go1.21.11.src.tar.gz) = 26994914 bytes
SHA1 (patch-misc_ios_clangwrap.sh) = 0a06403609cb7bce2e6f65444fd322f486761afe
SHA1 (patch-src_cmd_dist_build.go) = cbb9576f832806b0cbef121ea38ba6a54db95bc3
SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35
SHA1 (patch-src_crypto_x509_root__solaris.go) = d636a1599ede225ac339388fba2b6e253112d461
SHA1 (patch-src_syscall_syscall__solaris.go) = a23052ad13e128578c1c0cf46812f26d2d8ccdd1
-SHA1 (patch-src_syscall_zerrors__solaris__amd64.go) = f2a10b7436e1abedfe9491f8bde4c0bf3b2a893f
+SHA1 (patch-src_syscall_zerrors__solaris__amd64.go) = 9500319cf717106e1b4bb2ba28861358dffc781e
SHA1 (patch-src_syscall_zsysnum__solaris__amd64.go) = ec28a0fa37ba9599ec1651c8e9337a2efc48a26b
Index: pkgsrc/lang/go121/patches/patch-src_syscall_zerrors__solaris__amd64.go
diff -u pkgsrc/lang/go121/patches/patch-src_syscall_zerrors__solaris__amd64.go:1.1 pkgsrc/lang/go121/patches/patch-src_syscall_zerrors__solaris__amd64.go:1.2
--- pkgsrc/lang/go121/patches/patch-src_syscall_zerrors__solaris__amd64.go:1.1 Tue Apr 9 16:55:55 2024
+++ pkgsrc/lang/go121/patches/patch-src_syscall_zerrors__solaris__amd64.go Thu Jun 13 12:49:39 2024
@@ -1,14 +1,14 @@
-$NetBSD: patch-src_syscall_zerrors__solaris__amd64.go,v 1.1 2024/04/09 16:55:55 jperkin Exp $
+$NetBSD: patch-src_syscall_zerrors__solaris__amd64.go,v 1.2 2024/06/13 12:49:39 bsiegert Exp $
Support O_DIRECT on illumos.
---- src/syscall/zerrors_solaris_amd64.go.orig 2024-04-09 15:36:45.882494751 +0000
+--- src/syscall/zerrors_solaris_amd64.go.orig 2024-05-30 19:26:07.000000000 +0000
+++ src/syscall/zerrors_solaris_amd64.go
@@ -634,6 +634,7 @@ const (
O_APPEND = 0x8
O_CLOEXEC = 0x800000
O_CREAT = 0x100
+ O_DIRECT = 0x2000000
+ O_DIRECTORY = 0x1000000
O_DSYNC = 0x40
O_EXCL = 0x400
- O_EXEC = 0x400000
Home |
Main Index |
Thread Index |
Old Index