Skip to content

[Bug]: unaligned hmac causes segfault #12134

Open

Description

@bagder

Contact Details

No response

Version

wolfSSL master

Description

As noted in #11933 already: when wc_Sha256 is not 16-byte aligned wolfSSL segfaults on a 64-bit CPU instead returning error.

Also: this alignment requirement is not documented and I honestly, I think it is a little user hostile. See curl/curl#23690

Reproduction steps

#11933 already reproduced it

Relevant log output

Activity

  1. self-assigned this
    on Nov 15, 2026
  2. Frauschi commented on Nov 16, 2026

    @Frauschi
    Member

    @bagder Thanks for raising this. I think both issues are now fully addressed on the master branch already:

    Please let me know if you see any further issues on our side. Thanks!

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions