Skip to content

RUSTSEC-2019-0036: Type confusion if __private_get_type_id__ is overridden #20

Description

@github-actions

Type confusion if private_get_type_id is overridden

Details
Status unsound
Package failure
Version 0.1.8
URL rust-lang-deprecated/failure#336
Date 2019-11-13

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.

See advisory page for additional details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions