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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions