Skip to content

Hash_gen() dereferences a type-punned pointer #13

@aburks

Description

@aburks

Hash_gen() dereferences a type-punned pointer, which breaks strict-aliasing rules and causes -Wall and -Werror builds to fail.

https://github.com/wolfSSL/wolfssl/blob/master/wolfcrypt/src/random.c#L279

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions