RUSTSEC-2019-0036: failure: Type confusion if __private_get_type_id__ is overriden

Description

Safe Rust code can implement malfunctioning __private_get_type_id__ and cause type confusion when downcasting, which is an undefined behavior.

Users who derive Fail trait are not affected.

More Info

https://github.com/rust-lang-nursery/failure/issues/336

Patched Versions