[OpenSmalltalk/opensmalltalk-vm] ThreadedFFIPlugin can access stale objects after a callout. (#516)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] ThreadedFFIPlugin can access stale objects after a callout. (#516)

David T Lewis
 

In structure return the FFIPlugin creates an instance of the return type (retType in ffiReturnStruct:ofType:in:), but the return type has been fetched from the stack or method before the callout, not after. This should be fixed, but it needs thought to determine the best way to access the type object.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/516", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/516", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>