-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/cgo: fix unaligned arguments typedmemmove crash on iOS #53064
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
cmd/cgo: fix unaligned arguments typedmemmove crash on iOS #53064
Conversation
Irregularly typedmemmove and bulkBarrierPreWrite crashes on unaligned arguments. By aligning the arguments on 8 bytes this is fixed. Fixes golang#46893
This PR (HEAD: f0cb9ff) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/408395 to see it. Tip: You can toggle comments from me using the |
Message from Changkun Ou: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Gopher Robot: Patch Set 1: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Ian Lance Taylor: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Tim Cooijmans: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Ian Lance Taylor: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Cherry Mui: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Tim Cooijmans: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Eric Lagergren: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Eric Lagergren: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Changkun Ou: Patch Set 1: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Gopher Robot: Patch Set 1: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Ian Lance Taylor: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Tim Cooijmans: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Ian Lance Taylor: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Cherry Mui: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Tim Cooijmans: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Eric Lagergren: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Message from Eric Lagergren: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/408395. |
Irregularly typedmemmove and bulkBarrierPreWrite crashes on
unaligned arguments. By aligning the arguments on 8 bytes this
is fixed.
Fixes #46893