Skip to content

Calling SyscallN directly when dealing with pointer-pointers#42

Merged
danieljoos merged 2 commits intomasterfrom
danieljoos-syscall
May 15, 2023
Merged

Calling SyscallN directly when dealing with pointer-pointers#42
danieljoos merged 2 commits intomasterfrom
danieljoos-syscall

Conversation

@danieljoos
Copy link
Owner

@danieljoos danieljoos commented May 14, 2023

This PR is trying to address #32 by calling syscall.SyscallN directly when dealing with pointer-pointers.
With that, the Go runtime seems to keep the given pointer alive.

It also moves the required Go version up to 1.18!

@danieljoos danieljoos force-pushed the danieljoos-syscall branch from e1519b6 to 68f44ad Compare May 14, 2023 18:57
Copy link

@mislav mislav left a comment

Choose a reason for hiding this comment

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

Thank you! I could not reproduce the original bug with this patch applied.

@danieljoos danieljoos merged commit 5bfc9e5 into master May 15, 2023
@danieljoos danieljoos deleted the danieljoos-syscall branch May 15, 2023 11:51
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