You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nick Khyl
1f84729908
ipn/desktop: use runtime.Pinner to force heap-allocation of msg
...
GetMessage can call back into Go, triggering stack growth and causing the stack
to be copied to a new memory region, which invalidates the original stack pointer
passed to the syscall. Since GetMessage uses that pointer to write the message
before returning, this leads to memory corruption.
In this PR, we fix this by using runtime.Pinner, which requires the pointer to refer
to heap-allocated memory.
Fixes #19263
Fixes #17832
Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 month ago
..
auditlog
all: use Go 1.26 things, run most gofix modernizers
2 months ago
conffile
all: remove AUTHORS file and references to it
3 months ago
desktop
ipn/desktop: use runtime.Pinner to force heap-allocation of msg
1 month ago
ipnauth
all: remove AUTHORS file and references to it
3 months ago
ipnext
feature/conn25,ipn/ipnext,ipn/ipnlocal: add ExtraRouterConfigRoutes hook
1 month ago
ipnlocal
ipn/ipnlocal,net/netmon: make frequent darkwake more efficient
1 month ago
ipnserver
ipn/ipnserver: use peercreds for actor.Username on freebsd (for Taildrive)
1 month ago
ipnstate
types/ptr: deprecate ptr.To, use Go 1.26 new
2 months ago
lapitest
types/ptr: deprecate ptr.To, use Go 1.26 new
2 months ago
localapi
ipn/localapi, cli, clientmetric: add ipnbus feature tag; fix omit.go stub
1 month ago
policy
all: remove AUTHORS file and references to it
3 months ago
store
all: use Go 1.26 things, run most gofix modernizers
2 months ago
backend.go
ipn,ipn/local: broadcast ClientVersion if AutoUpdate.Check ( #19107 )
1 month ago
backend_test.go
all: remove AUTHORS file and references to it
3 months ago
conf.go
ipn: fix the typo causing NoSNAT always set to true ( #19110 )
1 month ago
conf_test.go
ipn: reject advertised routes with non-address bits set ( #18649 )
2 months ago
doc.go
all: remove AUTHORS file and references to it
3 months ago
ipn_clone.go
tailcfg: reintroduce UserProfile.Groups
2 months ago
ipn_test.go
all: remove AUTHORS file and references to it
3 months ago
ipn_view.go
tailcfg: reintroduce UserProfile.Groups
2 months ago
prefs.go
ipn, cmd/tailscale/cli: allow setting FQDN sans dot as an exit node
1 month ago
prefs_test.go
cmd/vet: add subtestnames analyzer; fix all existing violations
1 month ago
serve.go
all: use Go 1.26 things, run most gofix modernizers
2 months ago
serve_expand_test.go
all: remove AUTHORS file and references to it
3 months ago
serve_test.go
cmd/vet: add subtestnames analyzer; fix all existing violations
1 month ago
store.go
all: remove AUTHORS file and references to it
3 months ago
store_test.go
all: remove AUTHORS file and references to it
3 months ago