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 week ago
..
auditlog
all: use Go 1.26 things, run most gofix modernizers
1 month 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 week ago
ipnauth
all: remove AUTHORS file and references to it
3 months ago
ipnext
feature/conn25,ipn/ipnext,ipn/ipnlocal: add ExtraRouterConfigRoutes hook
3 weeks ago
ipnlocal
ipn/ipnlocal,net/netmon: make frequent darkwake more efficient
2 weeks ago
ipnserver
ipn/ipnserver: use peercreds for actor.Username on freebsd (for Taildrive)
3 weeks ago
ipnstate
types/ptr: deprecate ptr.To, use Go 1.26 new
1 month ago
lapitest
types/ptr: deprecate ptr.To, use Go 1.26 new
1 month ago
localapi
ipn/localapi, cli, clientmetric: add ipnbus feature tag; fix omit.go stub
1 week ago
policy
all: remove AUTHORS file and references to it
3 months ago
store
all: use Go 1.26 things, run most gofix modernizers
1 month ago
backend.go
ipn,ipn/local: broadcast ClientVersion if AutoUpdate.Check ( #19107 )
3 weeks 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 )
3 weeks ago
conf_test.go
ipn: reject advertised routes with non-address bits set ( #18649 )
4 weeks ago
doc.go
all: remove AUTHORS file and references to it
3 months ago
ipn_clone.go
tailcfg: reintroduce UserProfile.Groups
1 month ago
ipn_test.go
all: remove AUTHORS file and references to it
3 months ago
ipn_view.go
tailcfg: reintroduce UserProfile.Groups
1 month ago
prefs.go
ipn, cmd/tailscale/cli: allow setting FQDN sans dot as an exit node
2 weeks ago
prefs_test.go
cmd/vet: add subtestnames analyzer; fix all existing violations
2 weeks ago
serve.go
all: use Go 1.26 things, run most gofix modernizers
1 month 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
2 weeks 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