-
Notifications
You must be signed in to change notification settings - Fork 103
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
windows arm64 fixes, upgrade winio and thrift #1858
windows arm64 fixes, upgrade winio and thrift #1858
Conversation
ee/wmi/wmi.go
Outdated
// calling service.Release() and the serviceRaw.Clear() (or the reverse) causes | ||
// a panic on arm64 (Exception 0xc0000005: Access Violation). The hunch is that on arm64 | ||
// one clears the memory of the other. | ||
defer service.Release() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm making the assumption here that the call to serviceRaw.Clear()
that is defered above will release this as well because we get an access violation if both serviceRaw.Clear()
and service.Release()
get called (regardless of order)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hrm. I wonder if something isn't doing what we think in service := serviceRaw.ToIDispatch()
All this stuff is deep in unsafe
pointer land
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it seems like we should be able to make a pretty small test case and post it as an issue.
Though... go-ole/go-ole#255
desktop triggers Windows Hello Fix timeout, small refactor Tidy up names, add documentation Retrieve key credential status Retrieve pubkey Get attestation windows arm64 fixes, upgrade winio and thrift (kolide#1858) Fix `autoupdate_managed` table value for MacOS 15 (kolide#1862) james/remove wmi unneeded releases (kolide#1863) Check windows service manager settings prior to setting them (kolide#1859) Co-authored-by: Michael <60191460+lurky@users.noreply.github.com> Co-authored-by: seph <seph@kolide.co> Co-authored-by: Rebecca Mahany-Horton <rebeccamahany@gmail.com> Update function signature Move to ee
No description provided.