Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update x/net to v0.32 #66

Merged
merged 2 commits into from
Dec 18, 2024
Merged

chore: update x/net to v0.32 #66

merged 2 commits into from
Dec 18, 2024

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Dec 18, 2024

Tailscale fix: tailscale#14297
Golang Issue: golang/go#70528
Commit in x/net that fixes it: golang/net@e9cd716
Coder issue: coder/coder#15616

go.mod Outdated
@@ -75,16 +75,16 @@ require (
go.uber.org/zap v1.24.0
go4.org/mem v0.0.0-20220726221520-4f986261bf13
go4.org/netipx v0.0.0-20230728180743-ad4cb58a6516
golang.org/x/crypto v0.18.0
golang.org/x/crypto v0.30.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a CVE in 0.30.0 --- can we bump to 0.31.0?

https://go.googlesource.com/crypto/+/refs/tags/v0.31.0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

"ICMPv4",
"GlobalV4",
"GlobalV6",
"CaptivePortal",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this change needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you run go generate ./..., you get this test fails:

func TestNetInfoFields(t *testing.T) {

The change is only in a test, that validates the Clone() method is missing some fields. These fields were omitted in the test that we added here: #56

I was just getting a test to pass that was failing locally.

@Emyrk Emyrk merged commit b53d914 into main Dec 18, 2024
6 of 35 checks passed
Emyrk added a commit to coder/coder that referenced this pull request Dec 20, 2024
Emyrk added a commit to coder/coder that referenced this pull request Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants