Closed ten3roberts closed 8 months ago
Great catch, and clever work on the test!
Any reason why this fix hasn't been released yet (and affected versions yanked)? It's a known soundness issue in a popular crate.
Thanks for pointing that out. There were some cross wires and folks thought it had made it into the last release when it had not. Working on it!
The context chain downcast called converted to the wrong inner type which caused the wrong drop impl to be called.
The tests did not catch this because they had compatible drop implementations due to matching type layout. Solved by swizzling the fields of the chain test types to force incompatible layouts
Resolves: #141