Skip to content

Conversation

pas2k
Copy link
Contributor

@pas2k pas2k commented Oct 31, 2018

C.converter() func had an off-by-1, and SIGSEV'ed unluckily located messages.

C.GoString() shouldn't be used on non-zero-terminated strings anyway, so I've replaced it with a simple cast for use with C.GoStringN().

@pchampio
Copy link
Member

Good Catch!
👍

@pchampio pchampio merged commit 1dec651 into go-flutter-desktop:master Oct 31, 2018
@pas2k pas2k deleted the fix_gostringn branch November 2, 2018 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants