opensmalltalk-vm icon indicating copy to clipboard operation
opensmalltalk-vm copied to clipboard

ThreadedFFIPlugin can access stale objects after a callout.

Open eliotmiranda opened this issue 5 years ago • 0 comments

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.

eliotmiranda avatar Aug 30 '20 00:08 eliotmiranda