-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/net/route: ParseRIB panics on message from Darwin #70528
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
Comments
Thanks, I will take a look at this on the weekend. |
dmitshur
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Nov 22, 2024
@raggi do you have the bytes array so that I can write up a test for this? |
@hurricanehrndz I'm working on getting that, in the meantime this should be sufficient defense: https://github.com/golang/net/compare/master...raggi:raggi/darwin-rib-parse?expand=1 |
raggi
added a commit
to tailscale/tailscale
that referenced
this issue
Nov 22, 2024
Updates #14201 Updates golang/go#70528 Signed-off-by: James Tucker <[email protected]>
@raggi yeah that looks good. |
raggi
added a commit
to tailscale/tailscale
that referenced
this issue
Nov 22, 2024
Updates #14201 Updates golang/go#70528 Signed-off-by: James Tucker <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Go version
go1.23.3 & golang.org/x/[email protected]
Output of
go env
in your module/workspace:What did you do?
Seen from tailscale client, usage at https://github.com/tailscale/tailscale/blob/8e5cfbe4ab11713e383b3ff0d978f116320de2a3/net/netmon/netmon_darwin.go#L59
What did you see happen?
What did you expect to see?
No panic.
Related issue: #44740
Related change: hurricanehrndz/golang-net@61924c1
The text was updated successfully, but these errors were encountered: