opensmalltalk-vm
opensmalltalk-vm copied to clipboard
ThreadedFFIPlugin can access stale objects after a callout.
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.