Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

vet warning: possible misuse of unsafe.Pointer #43

Open
nathany opened this issue Mar 8, 2019 · 3 comments
Open

vet warning: possible misuse of unsafe.Pointer #43

nathany opened this issue Mar 8, 2019 · 3 comments

Comments

@nathany
Copy link
Contributor

nathany commented Mar 8, 2019

./wrap.go:165:53: possible misuse of unsafe.Pointer

@nathany
Copy link
Contributor Author

nathany commented Jan 19, 2022

wrap.go#L132 possible misuse of reflect.StringHeader

wrap.go#L166 possible misuse of unsafe.Pointer

@nathany nathany pinned this issue Jan 19, 2022
@nathany nathany added the bug label Jan 19, 2022
@pbnjay
Copy link
Contributor

pbnjay commented Jan 19, 2022

Any insight on why these are there to begin with? The StringHeader replacement seems straightforward, but is there a leak it's otherwise accounting for?

@nathany
Copy link
Contributor Author

nathany commented Jan 19, 2022

No idea 🤷🏼

@arp242 arp242 unpinned this issue Aug 4, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants